Proprietà MeasureCollection.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
- name
Tipo: System.String
The name of the Measure to find.
Valore proprietà
Tipo: Microsoft.AnalysisServices.AdomdServer.Measure
The Measure with the specified name.