Condividi tramite


Proprietà Item (String)

Gets the specified Measure from the collection by its name. In C#, this property is the indexer for the MeasureCollection class.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    index As String _
) As Measure
    Get
'Utilizzo
Dim instance As MeasureCollection
Dim index As String
Dim value As Measure

value = instance(index)
public Measure this[
    string index
] { get; }
public:
property Measure^ default[String^ index] {
    Measure^ get (String^ index);
}
member Item : Measure
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri