Delen via


DimensionCollection.Item Property (String)

Gets the 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

Property Value

Type: Microsoft.AnalysisServices.AdomdClient.Dimension
The Dimension with the specified name.

See Also

Reference

DimensionCollection Class

Item Overload

Microsoft.AnalysisServices.AdomdClient Namespace