Condividi tramite


Proprietà Item (String)

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

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

Sintassi

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

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

Parametri