AdomdPropertyCollection.Item Propiedad
Gets or sets the specified AdomdProperty from the AdomdPropertyCollection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdPropertyCollection class.
Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxis
'Declaración
Public Default Property Item ( _
index As Integer _
) As AdomdProperty
Get
Set
'Uso
Dim instance As AdomdPropertyCollection
Dim index As Integer
Dim value As AdomdProperty
value = instance(index)
instance(index) = value
public AdomdProperty this[
int index
] { get; set; }
public:
property AdomdProperty^ default[int index] {
AdomdProperty^ get (int index);
void set (int index, AdomdProperty^ value);
}
member Item : AdomdProperty with get, set
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 AdomdProperty to find.
Valor de la propiedad
Tipo: Microsoft.AnalysisServices.AdomdClient.AdomdProperty
The element at the specified index.