Share via


AxisCollection.Item Property (Int32)

Gets the specified Axis from the AxisCollection collection by its index. In Microsoft Visual C#, this property is the indexer for the AxisCollection class.

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

Syntax

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

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

Parameters

Property Value

Type: Microsoft.AnalysisServices.AdomdClient.Axis
The Axis at the specified index.

See Also

Reference

AxisCollection Class

Item Overload

Microsoft.AnalysisServices.AdomdClient Namespace