Freigeben über


PerspectiveMeasureCollection.Item-Eigenschaft (String)

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    measureId As String _
) As PerspectiveMeasure 
    Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

Eigenschaftswert

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

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

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

ItemNotFoundException

measureID does not exist in the collection.

Siehe auch

Verweis

PerspectiveMeasureCollection Klasse

Item-Überladung

Microsoft.AnalysisServices-Namespace