Właściwość PerspectiveAttributeCollection.Item (Int32)
Pobiera PerspectiveAttribute pod określonym indeksem z kolekcja.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public ReadOnly Default Property Item ( _
index As Integer _
) As PerspectiveAttribute
Get
'Użycie
Dim instance As PerspectiveAttributeCollection
Dim index As Integer
Dim value As PerspectiveAttribute
value = instance(index)
public PerspectiveAttribute this[
int index
] { get; }
public:
property PerspectiveAttribute^ default[int index] {
PerspectiveAttribute^ get (int index);
}
member Item : PerspectiveAttribute
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.
Parametry
- index
Typ: System.Int32
Indeks od zera PerspectiveAttribute do zwrotu.
Wartość właściwości
Typ: Microsoft.AnalysisServices.PerspectiveAttribute
PerspectiveAttribute Pod określonym indeksem.
Wyjątki
| Wyjątek | Warunek |
|---|---|
| ArgumentOutOfRangeException | indexjest mniejszy od zera. - lub - indexjest równa lub większa niż [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. |
Zobacz także