Class MetaDictionaryItem
Represents a MetaDictionary Item.
Inheritance
Namespace: Mediachase.MetaDataPlus.Configurator
Assembly: Mediachase.MetaDataPlus.dll
Version: 14.26.0Syntax
public class MetaDictionaryItem : ObjectConstructors
MetaDictionaryItem()
Not to be used, exposed for serialization.
Declaration
public MetaDictionaryItem()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 | 
 | 
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. | 
