MetadataObjectCollection<T, P> Class

 

Updated: May 24, 2016

Represents a collection of MetadataObjects.

Namespace:   Microsoft.AnalysisServices.Tabular
Assembly:  Microsoft.AnalysisServices.Tabular (in Microsoft.AnalysisServices.Tabular.dll)


generic<typename T, typename P>
where T : MetadataObject
where P : MetadataObject
public ref class MetadataObjectCollection abstract : ICollection<T>, 
	IEnumerable<T>, IEnumerable

Type Parameters

T

The Type Object.

P

The Parent object.

NameDescription
System_CAPS_pubmethodMetadataObjectCollection<T, P>(ObjectType, P)

Initializes a new collection of metadata objects.

NameDescription
System_CAPS_pubpropertyCount

Gets a count of the objects in the collection.

System_CAPS_pubpropertyIsReadOnly

Gets a value that indicates whether the collection is read-only.

System_CAPS_pubpropertyItem[Int32]

Gets the object at the specified index position in the collection.

System_CAPS_pubpropertyParent

Gets or sets the parent object of the MetadataObject collection.

NameDescription
System_CAPS_pubmethodAdd(T)

Add by Type.

System_CAPS_pubmethodClear()

Empties the collection of all objects.

System_CAPS_pubmethodContains(T)

A Boolean specifying whether the collection contains objects by Type.

System_CAPS_pubmethodCopyTo(array<T>^, Int32)

Copies a collection to another object in the Model tree.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Enumerates the items in a collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(T)

Index lookup by Type.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(T)

Indicates whether the object is removed in the collection.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection<T>::Clear()

Removes all items from the MetadataObjectCollection<T, P>.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection<T>::CopyTo(array<T>^, Int32)

Copies the MetadataObjectCollection<T, P> to an existing one-dimensional Array, starting at the specified array index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection<T>::Remove(T)

Removes the first occurrence of a specific object from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable<T>::GetEnumerator()

Returns an enumerator that iterates through a collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable::GetEnumerator()

Retrieves an enumerator that iterates through the collection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection<T>::Count

Gets a count of the objects in the collection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection<T>::IsReadOnly

Gets a value that indicates whether the collection is read only.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: