Share via


PerspectiveCollection.Item[] Property

Definition

Overloads

Item[Int32]

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

Item[String]

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

Item[Int32]

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

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

Parameters

index
Int32

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

Property Value

The Perspective 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 Perspective, with the specified identifier, from the collection.

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

Parameters

id
String

The identifier of the Perspective to be returned.

Property Value

The Perspective with the specified identifier.

Exceptions

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

Applies to