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

  • name
    Type: String
    The name of the Measure to find.

Property Value

Type: Microsoft.AnalysisServices.AdomdServer.Measure
The Measure with the specified name.

See Also

Reference

MeasureCollection Class

Item Overload

Microsoft.AnalysisServices.AdomdServer Namespace