Partager via


Item propriété (String)

Gets the PerspectiveMeasure that has the specified identifier from the collection.

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

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    measureId As String _
) As PerspectiveMeasure
    Get
'Utilisation
Dim instance As PerspectiveMeasureCollection
Dim measureId As String
Dim value As PerspectiveMeasure

value = instance(measureId)
public PerspectiveMeasure this[
    string measureId
] { get; }
public:
property PerspectiveMeasure^ default[String^ measureId] {
    PerspectiveMeasure^ get (String^ measureId);
}
member Item : PerspectiveMeasure
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 la propriété

Type : Microsoft.AnalysisServices. . :: . .PerspectiveMeasure
The PerspectiveMeasure specified by the identifier.

Exceptions

Exception Condition
ArgumentNullException

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

ItemNotFoundException

measureID does not exist in the collection.