Freigeben über


Item-Eigenschaft (String)

Gets the PerspectiveMeasureGroup 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 ( _
    measureGroupId As String _
) As PerspectiveMeasureGroup
    Get
'Usage
Dim instance As PerspectiveMeasureGroupCollection
Dim measureGroupId As String
Dim value As PerspectiveMeasureGroup

value = instance(measureGroupId)
public PerspectiveMeasureGroup this[
    string measureGroupId
] { get; }
public:
property PerspectiveMeasureGroup^ default[String^ measureGroupId] {
    PerspectiveMeasureGroup^ get (String^ measureGroupId);
}
member Item : PerspectiveMeasureGroup
JScript unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

Eigenschaftswert

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

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

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

ItemNotFoundException

measureGroupID does not exist in the collection.