Właściwość AttributeRelationshipCollection.Item (Int32)
Pobiera określony AttributeRelationship 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 AttributeRelationship
Get
'Użycie
Dim instance As AttributeRelationshipCollection
Dim index As Integer
Dim value As AttributeRelationship
value = instance(index)
public AttributeRelationship this[
int index
] { get; }
public:
property AttributeRelationship^ default[int index] {
AttributeRelationship^ get (int index);
}
member Item : AttributeRelationship
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.
Parametry
- index
Typ: System.Int32
Określa indeks od zera AttributeRelationship mają być zwrócone.
Wartość właściwości
Typ: Microsoft.AnalysisServices.AttributeRelationship
Wybranego AttributeRelationship obiektu.
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]. |
Zobacz także