Partilhar via


Propriedade do RDL Item (String)

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

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    index As String _
) As CubeDef
    Get
'Uso
Dim instance As CubeCollection
Dim index As String
Dim value As CubeDef

value = instance(index)
public CubeDef this[
    string index
] { get; }
public:
property CubeDef^ default[String^ index] {
    CubeDef^ get (String^ index);
}
member Item : CubeDef
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros