November Happy Hour will be moved to Thursday December 5th.

Class MetaDictionaryItem

Represents a MetaDictionary Item.

Inheritance
System.Object
MetaDictionaryItem
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.MetaDataPlus.Configurator
Assembly: Mediachase.MetaDataPlus.dll
Version: 13.30.0
Syntax
public class MetaDictionaryItem

Constructors

MetaDictionaryItem(String)

Initializes a new instance of the MetaDictionaryItem class.

Declaration
public MetaDictionaryItem(string value)
Parameters
Type Name Description
System.String value

The value.

MetaDictionaryItem(String, String)

Initializes a new instance of the MetaDictionaryItem class.

Declaration
public MetaDictionaryItem(string defaultValue, string value)
Parameters
Type Name Description
System.String defaultValue

The default value.

System.String value

The value.

Properties

Context

Gets or sets the context.

Declaration
public MetaDataContext Context { get; set; }
Property Value
Type Description
MetaDataContext

The context.

DefaultTag

Declaration
public object DefaultTag { get; set; }
Property Value
Type Description
System.Object

DefaultValue

Gets or sets the default value.

Declaration
public string DefaultValue { get; set; }
Property Value
Type Description
System.String

The default value.

Id

Gets the id.

Declaration
public int Id { get; }
Property Value
Type Description
System.Int32

The id.

OwnerMetaFieldId

Gets the owner meta field id.

Declaration
public int OwnerMetaFieldId { get; }
Property Value
Type Description
System.Int32

The owner meta field id.

State

Gets the state.

Declaration
public MetaDictionaryItemState State { get; }
Property Value
Type Description
MetaDictionaryItemState

The state.

Tag

Gets or sets the tag.

Declaration
public object Tag { get; set; }
Property Value
Type Description
System.Object

The tag.

Value

Gets or sets the value.

Declaration
public string Value { get; set; }
Property Value
Type Description
System.String

The value.

Methods

Equals(Object)

Determines whether the specified System.Object, is equal to this instance.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

The System.Object to compare with this instance.

Returns
Type Description
System.Boolean

true if the specified System.Object is equal to this instance; otherwise, false.

Overrides
System.Object.Equals(System.Object)
Remarks

Instances are considered Equal if Id are equal.

GetHashCode()

Returns a hash code for this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides
System.Object.GetHashCode()