CubeCollection.Item Property (Int32)

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

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

Syntax

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

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

Parameters

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

Property Value

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

See Also

Reference

CubeCollection Class

Item Overload

Microsoft.AnalysisServices.AdomdServer Namespace