XmlaResultCollection.Item Property

Gets the XmlaResult at the specified index in the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As XmlaResult
    Get
'Usage
Dim instance As XmlaResultCollection
Dim index As Integer
Dim value As XmlaResult

value = instance(index)
public XmlaResult this[
    int index
] { get; }
public:
property XmlaResult^ default[int index] {
    XmlaResult^ get (int index);
}
member Item : XmlaResult
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.AnalysisServices.XmlaResult
The XmlaResult at the specified index.

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.