AxisCollection.Item Property (String)
Gets the specified Axis from the AxisCollection collection by its name. 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 String _
) As Axis
Get
'Usage
Dim instance As AxisCollection
Dim index As String
Dim value As Axis
value = instance(index)
public Axis this[
string index
] { get; }
public:
property Axis^ default[String^ index] {
Axis^ get (String^ index);
}
member Item : Axis
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.String
The name of the Axis to find.
Property Value
See Also