Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the DataItem 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 DataItem
Get
Set
'Usage
Dim instance As DataItemCollection
Dim index As Integer
Dim value As DataItem
value = instance(index)
instance(index) = value
public DataItem this[
int index
] { get; set; }
public:
property DataItem^ default[int index] {
DataItem^ get (int index);
void set (int index, DataItem^ value);
}
member Item : DataItem with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
The zero-based index of the DataItem to be returned.
Property Value
Type: Microsoft.AnalysisServices.DataItem
The DataItem at the specified index.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |