NamedMetadataObjectCollection<T,P> NamedMetadataObjectCollection<T,P> NamedMetadataObjectCollection<T,P> Class

Definition

A collection of named metadata objects.

public abstract class NamedMetadataObjectCollection<T,P> : Microsoft.AnalysisServices.Tabular.MetadataObjectCollection<T,P> where T : NamedMetadataObject where P : MetadataObject
type NamedMetadataObjectCollection<'T, 'P (requires 'T :> NamedMetadataObject and 'P :> MetadataObject)> = class
    inherit MetadataObjectCollection<'T, 'P (requires 'T :> NamedMetadataObject and 'P :> MetadataObject)>
Public MustInherit Class NamedMetadataObjectCollection(Of T, P)
Inherits MetadataObjectCollection(Of T, P)

Type Parameters

T

Type of the named metadata object.

P

Parent of the metadata object.

Inheritance
NamedMetadataObjectCollection<T,P>NamedMetadataObjectCollection<T,P>NamedMetadataObjectCollection<T,P>
Derived

Properties

Count Count Count

Returns a count of the items in the collection.

(Inherited from MetadataObjectCollection<T,P>)
ICollection<T>.Count ICollection<T>.Count ICollection<T>.Count Inherited from MetadataObjectCollection<T,P>
ICollection<T>.IsReadOnly ICollection<T>.IsReadOnly ICollection<T>.IsReadOnly Inherited from MetadataObjectCollection<T,P>
IsReadOnly IsReadOnly IsReadOnly

A Boolean indicating whether the collection is read-only.

(Inherited from MetadataObjectCollection<T,P>)
Item[Int32] Item[Int32] Item[Int32]

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

(Inherited from MetadataObjectCollection<T,P>)
Item[String] Item[String] Item[String]

Gets the index in the collection of the named metadata object with the specified name.

Parent Parent Parent

Gets the parent object of the MetadataObject collection.

(Inherited from MetadataObjectCollection<T,P>)

Methods

Add(T) Add(T) Add(T)

Add by Type.

(Inherited from MetadataObjectCollection<T,P>)
Clear() Clear() Clear()

Empties the collection of all objects.

(Inherited from MetadataObjectCollection<T,P>)
Contains(String) Contains(String) Contains(String)

A Boolean that determines whether objects in the collection are contained by Name.

Contains(T) Contains(T) Contains(T)

A Boolean specifying whether the collection contains objects by Type.

(Inherited from MetadataObjectCollection<T,P>)
ContainsName(String) ContainsName(String) ContainsName(String)

A Boolean that determines whether the index contains the specified object name.

CopyTo(T[], Int32) CopyTo(T[], Int32) CopyTo(T[], Int32)

Copies a collection to another object in the Model tree.

(Inherited from MetadataObjectCollection<T,P>)
Find(String) Find(String) Find(String)

Finds an object in the collection by Name.

GetEnumerator() GetEnumerator() GetEnumerator()

Enumerates the items in a collection.

(Inherited from MetadataObjectCollection<T,P>)
GetNewName() GetNewName() GetNewName()

Gets a unique new name for the object.

GetNewName(String) GetNewName(String) GetNewName(String)

Gets a unique new name for the object with the specified name prefix.

IndexOf(T) IndexOf(T) IndexOf(T)

Index lookup by Type.

(Inherited from MetadataObjectCollection<T,P>)
Remove(String) Remove(String) Remove(String)

Remove an object from the NamedMetadataobject Collection by Name.

Remove(T) Remove(T) Remove(T)

Remove by Type.

(Inherited from MetadataObjectCollection<T,P>)

Explicit Interface Implementations

ICollection<T>.Clear() ICollection<T>.Clear() ICollection<T>.Clear() Inherited from MetadataObjectCollection<T,P>
ICollection<T>.CopyTo(T[], Int32) ICollection<T>.CopyTo(T[], Int32) ICollection<T>.CopyTo(T[], Int32) Inherited from MetadataObjectCollection<T,P>
ICollection<T>.Remove(T) ICollection<T>.Remove(T) ICollection<T>.Remove(T) Inherited from MetadataObjectCollection<T,P>
IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() Inherited from MetadataObjectCollection<T,P>
IEnumerable<T>.GetEnumerator() IEnumerable<T>.GetEnumerator() IEnumerable<T>.GetEnumerator() Inherited from MetadataObjectCollection<T,P>

Applies to