Share via


DimensionCollection.Item Property (String)

Gets the specified Dimensionfrom the collection by its name. In C#, this property is the indexer for the DimensionCollection 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 Dimension
    Get
'Usage
Dim instance As DimensionCollection
Dim index As String
Dim value As Dimension

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

Parameters