Sdílet prostřednictvím


MetadataObjectCollection<T,P> Class

Definition

Represents a collection of metadata objects.

public abstract class MetadataObjectCollection<T,P> : System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T> where T : MetadataObject where P : MetadataObject
type MetadataObjectCollection<'T, 'P (requires 'T :> MetadataObject and 'P :> MetadataObject)> = class
    interface ICollection<'T (requires 'T :> MetadataObject)>
    interface seq<'T (requires 'T :> MetadataObject)>
    interface IEnumerable
Public MustInherit Class MetadataObjectCollection(Of T, P)
Implements ICollection(Of T), IEnumerable(Of T)

Type Parameters

T
P
Inheritance
MetadataObjectCollection<T,P>
Derived
Implements

Constructors

MetadataObjectCollection<T,P>(ObjectType, P)

Initializes a new collection of metadata objects.

Properties

Count

Returns a count of the items in the collection.

IsReadOnly

A Boolean indicating whether the collection is read-only.

Item[Int32]

Indexes by the object's index position in the collection.

Parent

Gets the parent object of the MetadataObject collection.

Methods

Add(T)

Add by Type.

Clear()

Empties the collection of all objects.

Contains(T)

A Boolean specifying whether the collection contains objects by Type.

CopyTo(T[], Int32)

Copies a collection to another object in the Model tree.

GetEnumerator()

Enumerates the items in a collection.

IndexOf(T)

Index lookup by Type.

Remove(T)

Remove by Type.

Explicit Interface Implementations

ICollection<T>.Clear()
ICollection<T>.CopyTo(T[], Int32)
ICollection<T>.Count
ICollection<T>.IsReadOnly
ICollection<T>.Remove(T)
IEnumerable.GetEnumerator()
IEnumerable<T>.GetEnumerator()

Applies to