Freigeben über


Item-Eigenschaft (String)

Gets the MeasureGroupAttribute 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 ( _
    attributeId As String _
) As MeasureGroupAttribute
    Get
'Usage
Dim instance As MeasureGroupAttributeCollection
Dim attributeId As String
Dim value As MeasureGroupAttribute

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

Parameter

Eigenschaftenwert

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

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

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

ItemNotFoundException

attributeID does not exist in the collection.