Share via


DimensionCollection.Item Property (Int32)

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

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

Syntax

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

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

Parameters