Condividi tramite


Proprietà AggregationAttributeCollection.Item (String)

Gets the AggregationAttribute, with the specified identifier, from the collection.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    attributeId As String _
) As AggregationAttribute 
    Get
'Utilizzo
Dim instance As AggregationAttributeCollection 
Dim attributeId As String 
Dim value As AggregationAttribute 

value = instance(attributeId)
public AggregationAttribute this[
    string attributeId
] { get; }
public:
property AggregationAttribute^ default[String^ attributeId] {
    AggregationAttribute^ get (String^ attributeId);
}
member Item : AggregationAttribute
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

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

Eccezioni

Eccezione Condizione
ArgumentNullException

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

ItemNotFoundException

attributeID does not exist in the collection.

Vedere anche

Riferimento

AggregationAttributeCollection Classe

Overload Item

Spazio dei nomi Microsoft.AnalysisServices