Share via


MeasureGroupCollection.Item[] Property

Definition

Overloads

Item[Int32]

Gets the MeasureGroup, at the specified index, from the collection.

Item[String]

Gets the MeasureGroup, with the specified identifier, from the collection.

Item[Int32]

Gets the MeasureGroup, at the specified index, from the collection.

public Microsoft.AnalysisServices.MeasureGroup this[int index] { get; }
member this.Item(int) : Microsoft.AnalysisServices.MeasureGroup
Default Public ReadOnly Property Item(index As Integer) As MeasureGroup

Parameters

index
Int32

The zero-based index of the MeasureGroup to be returned.

Property Value

The MeasureGroup at the specified index.

Exceptions

The specified index is not a valid value (less than zero or bigger then the total number of elements).

Applies to

Item[String]

Gets the MeasureGroup, with the specified identifier, from the collection.

public Microsoft.AnalysisServices.MeasureGroup this[string id] { get; }
member this.Item(string) : Microsoft.AnalysisServices.MeasureGroup
Default Public ReadOnly Property Item(id As String) As MeasureGroup

Parameters

id
String

The identifier of the MeasureGroup to be returned.

Property Value

The MeasureGroup with the specified identifier.

Exceptions

The collection doesn't contain a MeasureGroup with the specified identifier.

Applies to