Partager via


Propriété Item (String)

Gets the Kpi, with the specified identifier, from the collection.

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

Syntaxe

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

value = instance(id)
public Kpi this[
    string id
] { get; }
public:
property Kpi^ default[String^ id] {
    Kpi^ get (String^ id);
}
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. . :: . .Kpi
The Kpi specified by the identifier.

Exceptions

Exception Condition
ArgumentNullException

id is a null reference (Nothing in Visual Basic).

ItemNotFoundException

id does not exist in the collection.