Właściwość AdomdPropertyCollection.Item
Pobiera lub ustawia określony AdomdProperty z AdomdPropertyCollection przez indeks.W Microsoft Visual C#, ta właściwość jest indeksowanie dla AdomdPropertyCollection klasy
Przestrzeń nazw: Microsoft.AnalysisServices.AdomdClient
Zestaw: Microsoft.AnalysisServices.AdomdClient (w Microsoft.AnalysisServices.AdomdClient.dll)
Składnia
'Deklaracja
Public Default Property Item ( _
index As Integer _
) As AdomdProperty
Get
Set
'Użycie
Dim instance As AdomdPropertyCollection
Dim index As Integer
Dim value As AdomdProperty
value = instance(index)
instance(index) = value
public AdomdProperty this[
int index
] { get; set; }
public:
property AdomdProperty^ default[int index] {
AdomdProperty^ get (int index);
void set (int index, AdomdProperty^ value);
}
member Item : AdomdProperty with get, set
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 AdomdProperty do znajdowania.
Wartość właściwości
Typ: Microsoft.AnalysisServices.AdomdClient.AdomdProperty
Element pod określonym indeksem.
Zobacz także