Class MetaFieldCollection

Summary description for MetaFieldCollection.

Inheritance
System.Object
System.Collections.ReadOnlyCollectionBase
MetaFieldCollection
Implements
System.Collections.ICollection
System.Collections.Generic.IEnumerable<MetaField>
System.Collections.IEnumerable
Inherited Members
System.Collections.ReadOnlyCollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ReadOnlyCollectionBase.InnerList
System.Collections.ReadOnlyCollectionBase.Count
System.Collections.ReadOnlyCollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.ReadOnlyCollectionBase.System.Collections.ICollection.SyncRoot
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.MetaDataPlus.Configurator
Assembly: Mediachase.MetaDataPlus.dll
Version: 10.8.0
Syntax
public class MetaFieldCollection : IndexedCollectionBase<MetaField>, ICollection, IEnumerable<MetaField>, IEnumerable

Properties

IsReadOnly

Gets a value indicating whether this instance is read only.

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

true if this instance is read only; otherwise, false.

Methods

Add(MetaField)

Adds the specified new item.

Declaration
public void Add(MetaField newItem)
Parameters
Type Name Description
MetaField newItem

The new item.

Contains(MetaField)

Determines whether the colleciton contains the specified item, based on the Id.

Declaration
public override bool Contains(MetaField item)
Parameters
Type Name Description
MetaField item

The item.

Returns
Type Description
System.Boolean

true if the colleciton contains a match; otherwise false.

Overrides
Mediachase.Data.Provider.Internal.IndexedCollectionBase<Mediachase.MetaDataPlus.Configurator.MetaField>.Contains(Mediachase.MetaDataPlus.Configurator.MetaField)

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public IEnumerator<MetaField> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<MetaField>

An System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection.

IndexOf(MetaField)

Gets the index of the item in the collection, based on the Id.

Declaration
public override int IndexOf(MetaField item)
Parameters
Type Name Description
MetaField item

The item.

Returns
Type Description
System.Int32

The index of the matching item, or -1 if there was no match.

Overrides
Mediachase.Data.Provider.Internal.IndexedCollectionBase<Mediachase.MetaDataPlus.Configurator.MetaField>.IndexOf(Mediachase.MetaDataPlus.Configurator.MetaField)

Implements

System.Collections.ICollection
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable