Class MetaFieldCollection
Summary description for MetaFieldCollection.
Inheritance
Implements
Inherited Members
Namespace: Mediachase.MetaDataPlus.Configurator
Assembly: Mediachase.MetaDataPlus.dll
Version: 10.8.0Syntax
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 |
|
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 |
|
Overrides
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. |