Compartilhar via


Propriedade Item (String)

Gets the specified 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 (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    index As String _
) As Dimension
    Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros