Udostępnij za pośrednictwem


Właściwość AggregationInstanceAttributeCollection.Item (Int32)

Pobiera określony AggregationInstanceAttribute obiekt z kolekcja w indeksie.

Przestrzeń nazw:  Microsoft.AnalysisServices
Zestaw:  Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)

Składnia

'Deklaracja
Public ReadOnly Default Property Item ( _
    index As Integer _
) As AggregationInstanceAttribute
    Get
'Użycie
Dim instance As AggregationInstanceAttributeCollection
Dim index As Integer
Dim value As AggregationInstanceAttribute

value = instance(index)
public AggregationInstanceAttribute this[
    int index
] { get; }
public:
property AggregationInstanceAttribute^ default[int index] {
    AggregationInstanceAttribute^ get (int index);
}
member Item : AggregationInstanceAttribute
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.

Parametry

Wyjątki

Wyjątek Warunek
ArgumentOutOfRangeException

Może pojawić się jeden z następujących komunikatów o błędach:

indexjest mniejszy od zera.

indexjest równa lub większa niż [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].