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

Class MetaStringDictionary

Summary description for MetaStringDictionary.

Inheritance
System.Object
MetaStringDictionary
Implements
System.Collections.IEnumerable
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
Assembly: Mediachase.MetaDataPlus.dll
Version: 13.30.0
Syntax
public class MetaStringDictionary : IEnumerable

Constructors

MetaStringDictionary()

Declaration
public MetaStringDictionary()

MetaStringDictionary(IDictionary<String, String>)

Declaration
public MetaStringDictionary(IDictionary<string, string> dict)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.String> dict

Properties

Count

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

IsSynchronized

Declaration
public virtual bool IsSynchronized { get; }
Property Value
Type Description
System.Boolean

Item[String]

Declaration
public virtual string this[string key] { get; set; }
Parameters
Type Name Description
System.String key
Property Value
Type Description
System.String

Keys

Declaration
public virtual ICollection Keys { get; }
Property Value
Type Description
System.Collections.ICollection

SyncRoot

Declaration
public virtual object SyncRoot { get; }
Property Value
Type Description
System.Object

Values

Declaration
public virtual ICollection Values { get; }
Property Value
Type Description
System.Collections.ICollection

Methods

Add(Object)

Declaration
public virtual void Add(object val)
Parameters
Type Name Description
System.Object val

Add(String, String)

Declaration
public virtual void Add(string key, string value)
Parameters
Type Name Description
System.String key
System.String value

Clear()

Declaration
public virtual void Clear()

ContainsKey(String)

Declaration
public virtual bool ContainsKey(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Boolean

ContainsValue(String)

Declaration
public virtual bool ContainsValue(string value)
Parameters
Type Name Description
System.String value
Returns
Type Description
System.Boolean

CopyTo(Array, Int32)

Declaration
public virtual void CopyTo(Array array, int index)
Parameters
Type Name Description
System.Array array
System.Int32 index

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 both Dictionaries contain the same keys with the same values, regardless of order.

GetEnumerator()

Declaration
public virtual IEnumerator GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

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()

Remove(String)

Declaration
public virtual void Remove(string key)
Parameters
Type Name Description
System.String key

Implements

System.Collections.IEnumerable