Propriedade 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.
Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (em msmgdsrv.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
name As String _
) As Measure
Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- name
Tipo: System. . :: . .String
The name of the Measure to find.
Valor da propriedade
Tipo: Microsoft.AnalysisServices.AdomdServer. . :: . .Measure
Consulte também