Sdílet prostřednictvím


MeasureCollection.Item Property (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 (in msmgdsrv.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As Measure
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters