ModelComponentCollection.Item-Eigenschaft
Gets the IModelComponent at the specified index.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Protected ReadOnly Default Property Item ( _
index As Integer _
) As IModelComponent
Get
'Usage
Dim index As Integer
Dim value As IModelComponent
value = Me(index)
protected IModelComponent this[
int index
] { get; }
protected:
property IModelComponent^ default[int index] {
IModelComponent^ get (int index);
}
member Item : IModelComponent
JScript unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- index
Typ: System.Int32
The zero-based index of the [Microsoft.DataWarehouse.IModelComponent] to get.
Eigenschaftswert
Typ: Microsoft.AnalysisServices.IModelComponent
The [Microsoft.DataWarehouse.IModelComponent] at the specified index.
Ausnahmen
Ausnahme | Bedingung |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |
Hinweise
This property provides the ability to access a specific element in the collection by using the following syntax: myCollection[index].