Dela via


PerspectiveMeasureCollection.Item Property (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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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.