Table of Contents

Class TagReference

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Represents tag reference data.

public sealed class TagReference
Inheritance
object
TagReference
Extension Methods

Constructors

TagReference()

public TagReference()

Properties

Identifier

Tag identifier.

public Guid Identifier { get; init; }

Property Value

Guid

Methods

Equals(TagReference)

Determines whether the specified TagReference is equal to the current object. Returns true if specified other object has the same Identifier value as the current object, false otherwise.

public bool Equals(TagReference other)

Parameters

other TagReference

The TagReference object to compare with current object.

Returns

bool

true if the specified object is equal to the current object, false otherwise.

Equals(object)

Determines whether the specified object is equal to the current object. Returns true if the specified object is a TagReference and has the same Identifier value as the current object, false otherwise.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object, false otherwise.

GetHashCode()

Returns the hash code for the current object. The hash code is the same as the hash code of the Identifier value.

public override int GetHashCode()

Returns

int

The hash code for the current object.