Propriété MeasureGroupAttributeCollection.Item (String)
Gets the MeasureGroupAttribute with the specified attribute identifier.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
attributeId As String _
) As MeasureGroupAttribute
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- attributeId
Type : System.String
The identifier of the MeasureGroupAttribute to return.
Valeur de propriété
Type : Microsoft.AnalysisServices.MeasureGroupAttribute
The MeasureGroupAttribute specified by the identifier.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | attributeID is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | attributeID does not exist in the collection. |