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

Class SchemaElementCollection

Represents schema element collection.

Inheritance
System.Object
System.Collections.ObjectModel.Collection<SchemaElement>
SchemaElementCollection
Implements
System.Collections.Generic.IList<SchemaElement>
System.Collections.Generic.ICollection<SchemaElement>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<SchemaElement>
System.Collections.Generic.IReadOnlyCollection<SchemaElement>
System.Collections.Generic.IEnumerable<SchemaElement>
System.Collections.IEnumerable
Inherited Members
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.Add(Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.Clear()
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.CopyTo(Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement[], System.Int32)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.Contains(Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.GetEnumerator()
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.IndexOf(Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.Insert(System.Int32, Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.Remove(Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.Count
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.Items
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.Generic.ICollection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.IsReadOnly
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.IList.Item[System.Int32]
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.System.Collections.IList.IsFixedSize
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.Schema
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 12.17.2
Syntax
public class SchemaElementCollection : Collection<SchemaElement>, IList<SchemaElement>, ICollection<SchemaElement>, IList, ICollection, IReadOnlyList<SchemaElement>, IReadOnlyCollection<SchemaElement>, IEnumerable<SchemaElement>, IEnumerable

Constructors

SchemaElementCollection()

Initializes a new instance of the SchemaElementCollection class.

Declaration
public SchemaElementCollection()

SchemaElementCollection(SchemaContainer)

Initializes a new instance of the SchemaElementCollection class.

Declaration
public SchemaElementCollection(SchemaContainer owner)
Parameters
Type Name Description
SchemaContainer owner

The owner.

Properties

Owner

Gets or sets the owner.

Declaration
protected SchemaContainer Owner { get; set; }
Property Value
Type Description
SchemaContainer

The owner.

Methods

ClearItems()

Removes all elements from the System.Collections.ObjectModel.Collection<T>.

Declaration
protected override void ClearItems()
Overrides
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.ClearItems()

InsertItem(Int32, SchemaElement)

Inserts an element into the System.Collections.ObjectModel.Collection<T> at the specified index.

Declaration
protected override void InsertItem(int index, SchemaElement item)
Parameters
Type Name Description
System.Int32 index

The zero-based index at which item should be inserted.

SchemaElement item

The object to insert. The value can be null for reference types.

Overrides
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.InsertItem(System.Int32, Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement)
Exceptions
Type Condition
System.ArgumentOutOfRangeException

index is less than zero.-or-index is greater than System.Collections.ObjectModel.Collection<T>.Count.

RemoveItem(Int32)

Removes the element at the specified index of the System.Collections.ObjectModel.Collection<T>.

Declaration
protected override void RemoveItem(int index)
Parameters
Type Name Description
System.Int32 index

The zero-based index of the element to remove.

Overrides
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.RemoveItem(System.Int32)
Exceptions
Type Condition
System.ArgumentOutOfRangeException

index is less than zero.-or-index is equal to or greater than System.Collections.ObjectModel.Collection<T>.Count.

SetItem(Int32, SchemaElement)

Replaces the element at the specified index.

Declaration
protected override void SetItem(int index, SchemaElement item)
Parameters
Type Name Description
System.Int32 index

The zero-based index of the element to replace.

SchemaElement item

The new value for the element at the specified index. The value can be null for reference types.

Overrides
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement>.SetItem(System.Int32, Mediachase.BusinessFoundation.Data.Meta.Schema.SchemaElement)
Exceptions
Type Condition
System.ArgumentOutOfRangeException

index is less than zero.-or-index is greater than System.Collections.ObjectModel.Collection<T>.Count.

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable