Item-Eigenschaft
Gets the Group at the specified index from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Default Property Item ( _
index As Integer _
) As Group
Get
Set
'Usage
Dim instance As GroupCollection
Dim index As Integer
Dim value As Group
value = instance(index)
instance(index) = value
public Group this[
int index
] { get; set; }
public:
property Group^ default[int index] {
Group^ get (int index);
void set (int index, Group^ value);
}
member Item : Group with get, set
JScript unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- index
Typ: System. . :: . .Int32
The zero-based index of the Group to be returned.
Eigenschaftswert
Typ: Microsoft.AnalysisServices. . :: . .Group
The Group at the specified index.
Ausnahmen
Ausnahme | Bedingung |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |