Compartilhar via


Propriedade do RDL MeasureGroupAttributeCollection.Item (String)

Gets the MeasureGroupAttribute with the specified attribute identifier.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    attributeId As String _
) As MeasureGroupAttribute 
    Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

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

Exceções

Exceção Condição
ArgumentNullException

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

ItemNotFoundException

attributeID does not exist in the collection.

Consulte também

Referência

MeasureGroupAttributeCollection Classe

Sobrecarregado Item

Namespace Microsoft.AnalysisServices