Partager via


Propriété MeasureGroupCollection.Item (String)

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    id As String _
) As MeasureGroup 
    Get
'Utilisation
Dim instance As MeasureGroupCollection 
Dim id As String 
Dim value As MeasureGroup 

value = instance(id)
public MeasureGroup this[
    string id
] { get; }
public:
property MeasureGroup^ default[String^ id] {
    MeasureGroup^ get (String^ id);
}
member Item : MeasureGroup
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.AnalysisServices.MeasureGroup
The MeasureGroup specified by the identifier.

Exceptions

Exception Condition
ArgumentNullException

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

ItemNotFoundException

id does not exist in the collection.

Voir aussi

Référence

MeasureGroupCollection Classe

Surcharge Item

Espace de noms Microsoft.AnalysisServices