共用方式為


PerspectiveMeasureCollection.Item[] Property

Definition

Overloads

Item[String]

Gets the PerspectiveMeasure, with the specified MeasureID, from the collection.

Item[Int32]

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

Item[String]

Gets the PerspectiveMeasure, with the specified MeasureID, from the collection.

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

Parameters

measureId
String

The MeasureID of the PerspectiveMeasure to be returned.

Property Value

The PerspectiveMeasure with the specified MeasureID.

Exceptions

The collection doesn't contain a PerspectiveMeasure with the specified MeasureID.

Applies to

Item[Int32]

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

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

Parameters

index
Int32

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

Property Value

The PerspectiveMeasure 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