LevelCollection.Item Property (Int32)

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

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

Syntax

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

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

Parameters

  • index
    Type: Int32
    The zero-based index of the Level to find.

Property Value

Type: Microsoft.AnalysisServices.AdomdServer.Level
The Level at the specified index.

See Also

Reference

LevelCollection Class

Item Overload

Microsoft.AnalysisServices.AdomdServer Namespace