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

Class MetaFieldCollection

Represents collection of meta field.

Inheritance
System.Object
System.Collections.CollectionBase
MetaFieldCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.CollectionBase.Clear()
System.Collections.CollectionBase.RemoveAt(System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.CollectionBase.GetEnumerator()
System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
System.Collections.CollectionBase.OnValidate(System.Object)
System.Collections.CollectionBase.OnClearComplete()
System.Collections.CollectionBase.InnerList
System.Collections.CollectionBase.List
System.Collections.CollectionBase.Capacity
System.Collections.CollectionBase.Count
System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
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.BusinessFoundation.Data.Meta.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 12.17.2
Syntax
public class MetaFieldCollection : CollectionBase, IList, ICollection, IEnumerable, IChangeTracking

Properties

Item[Int32]

Gets the MetaField at the specified index.

Declaration
public MetaField this[int index] { get; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
MetaField

Item[String]

Gets the MetaField with the specified name.

Declaration
public MetaField this[string name] { get; }
Parameters
Type Name Description
System.String name
Property Value
Type Description
MetaField

Methods

Add(MetaField)

Adds the internal.

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

The field.

Contains(MetaField)

Determines whether this collection contains the specified field.

Declaration
public bool Contains(MetaField field)
Parameters
Type Name Description
MetaField field

The field.

Returns
Type Description
System.Boolean

true if this collection contains the specified field; otherwise, false.

Contains(String)

Determines whether this collection contains the specified name.

Declaration
public bool Contains(string name)
Parameters
Type Name Description
System.String name

The name.

Returns
Type Description
System.Boolean

true if this collection contains the specified name; otherwise, false.

GetByDataType(McDataType)

Gets the type of the by data.

Declaration
public MetaField[] GetByDataType(McDataType dataType)
Parameters
Type Name Description
McDataType dataType

Type of the data.

Returns
Type Description
MetaField[]

GetByOriginalDataType(McDataType)

Gets the type of the by original data.

Declaration
public MetaField[] GetByOriginalDataType(McDataType dataType)
Parameters
Type Name Description
McDataType dataType

Type of the data.

Returns
Type Description
MetaField[]

IndexOf(MetaField)

Indexes the of.

Declaration
public int IndexOf(MetaField field)
Parameters
Type Name Description
MetaField field

The field.

Returns
Type Description
System.Int32

IndexOf(String)

Gets the index of meta field with the given name.

Declaration
public int IndexOf(string name)
Parameters
Type Name Description
System.String name

The name of the meta field.

Returns
Type Description
System.Int32

OnClear()

Performs additional custom processes when clearing the contents of the System.Collections.CollectionBase instance.

Declaration
protected override void OnClear()
Overrides
System.Collections.CollectionBase.OnClear()

OnInsertComplete(Int32, Object)

Performs additional custom processes after inserting a new element into the System.Collections.CollectionBase instance.

Declaration
protected override void OnInsertComplete(int index, object value)
Parameters
Type Name Description
System.Int32 index

The zero-based index at which to insert value.

System.Object value

The new value of the element at index.

Overrides
System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)

OnRemoveComplete(Int32, Object)

Performs additional custom processes after removing an element from the System.Collections.CollectionBase instance.

Declaration
protected override void OnRemoveComplete(int index, object value)
Parameters
Type Name Description
System.Int32 index

The zero-based index at which value can be found.

System.Object value

The value of the element to remove from index.

Overrides
System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)

OnSetComplete(Int32, Object, Object)

Performs additional custom processes after setting a value in the System.Collections.CollectionBase instance.

Declaration
protected override void OnSetComplete(int index, object oldValue, object newValue)
Parameters
Type Name Description
System.Int32 index

The zero-based index at which oldValue can be found.

System.Object oldValue

The value to replace with newValue.

System.Object newValue

The new value of the element at index.

Overrides
System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)

Remove(MetaField)

Removes the specified meta class.

Declaration
public void Remove(MetaField field)
Parameters
Type Name Description
MetaField field

The meta class.

Remove(String)

Removes the specified name.

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

The name.

Explicit Interface Implementations

IChangeTracking.AcceptChanges()

Declaration
void IChangeTracking.AcceptChanges()

IChangeTracking.IsChanged

Declaration
bool IChangeTracking.IsChanged { get; }
Returns
Type Description
System.Boolean

Implements

System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable