Propriedade do RDL MeasureCollection.Item (String)
Gets the specified Measure from the collection by its name. In C#, this property is the indexer for the MeasureCollection 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 Measure
Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- index
Tipo: System.String
The name of the Measure to find.
Valor da propriedade
Tipo: Microsoft.AnalysisServices.AdomdClient.Measure
The Measure with the specified name.