Partager via


Propriété Item (Int32)

Gets the specified Kpi from the collection by its index. In Microsoft Visual C#, this property is the indexer for the KpiCollection class.

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (en msmgdsrv.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Kpi
    Get
'Utilisation
Dim instance As KpiCollection
Dim index As Integer
Dim value As Kpi

value = instance(index)
public Kpi this[
    int index
] { get; }
public:
property Kpi^ default[int index] {
    Kpi^ get (int index);
}
member Item : Kpi
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.AnalysisServices.AdomdServer. . :: . .Kpi
The specified Kpi.