NamedMetadataObjectCollection<T,P> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Derived
Properties
Count |
Returns a count of the items in the collection. (Inherited from MetadataObjectCollection<T,P>) |
IsReadOnly |
A Boolean indicating whether the collection is read-only. (Inherited from MetadataObjectCollection<T,P>) |
Item[Int32] |
Indexes by the object's index position in the collection. (Inherited from MetadataObjectCollection<T,P>) |
Item[String] |
Gets the index in the collection of the named metadata object with the specified name. |
Parent |
Gets the parent object of the MetadataObject collection. (Inherited from MetadataObjectCollection<T,P>) |
Methods
Add(T) |
Add by Type. (Inherited from MetadataObjectCollection<T,P>) |
Clear() |
Empties the collection of all objects. (Inherited from MetadataObjectCollection<T,P>) |
Contains(String) |
A Boolean that determines whether objects in the collection are contained by Name. |
Contains(T) |
A Boolean specifying whether the collection contains objects by Type. (Inherited from MetadataObjectCollection<T,P>) |
ContainsName(String) |
A Boolean that determines whether the index contains the specified object name. |
CopyTo(T[], Int32) |
Copies a collection to another object in the Model tree. (Inherited from MetadataObjectCollection<T,P>) |
Find(String) |
Finds an object in the collection by Name. |
GetEnumerator() |
Enumerates the items in a collection. (Inherited from MetadataObjectCollection<T,P>) |
GetNewName() |
Gets a unique new name for the object. |
GetNewName(String) |
Gets a unique new name for the object with the specified name prefix. |
IndexOf(T) |
Index lookup by Type. (Inherited from MetadataObjectCollection<T,P>) |
Remove(String) |
Remove an object from the NamedMetadataobject Collection by Name. |
Remove(T) |
Remove by Type. (Inherited from MetadataObjectCollection<T,P>) |
Explicit Interface Implementations
ICollection<T>.Clear() | (Inherited from MetadataObjectCollection<T,P>) |
ICollection<T>.CopyTo(T[], Int32) | (Inherited from MetadataObjectCollection<T,P>) |
ICollection<T>.Count | (Inherited from MetadataObjectCollection<T,P>) |
ICollection<T>.IsReadOnly | (Inherited from MetadataObjectCollection<T,P>) |
ICollection<T>.Remove(T) | (Inherited from MetadataObjectCollection<T,P>) |
IEnumerable.GetEnumerator() | (Inherited from MetadataObjectCollection<T,P>) |
IEnumerable<T>.GetEnumerator() | (Inherited from MetadataObjectCollection<T,P>) |