Dela via


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