Item Propiedad
Gets the IModelComponent at the specified index.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Protected ReadOnly Default Property Item ( _
index As Integer _
) As IModelComponent
Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- index
Tipo: System. . :: . .Int32
The zero-based index of the [Microsoft.DataWarehouse.IModelComponent] to get.
Valor de la propiedad
Tipo: Microsoft.AnalysisServices. . :: . .IModelComponent
The [Microsoft.DataWarehouse.IModelComponent] at the specified index.
Excepciones
Excepción | Condición |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |
Notas
This property provides the ability to access a specific element in the collection by using the following syntax: myCollection[index].