Proprietà Item (String)

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

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    measureId As String _
) As PerspectiveMeasure
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

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

Eccezioni

Eccezione Condizione
ArgumentNullException

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

ItemNotFoundException

measureID does not exist in the collection.