PerspectiveCollection.IndexOf PerspectiveCollection.IndexOf PerspectiveCollection.IndexOf Method

Definition

Gets the index of a Perspective.

Overloads

IndexOf(Perspective) IndexOf(Perspective) IndexOf(Perspective)

Gets the index of a specified Perspective.

IndexOf(String) IndexOf(String) IndexOf(String)

Gets the index of a Perspective that has the specified identifier.

IndexOf(Perspective) IndexOf(Perspective) IndexOf(Perspective)

Gets the index of a specified Perspective.

public:
 int IndexOf(Microsoft::AnalysisServices::Perspective ^ item);
public int IndexOf (Microsoft.AnalysisServices.Perspective item);
Public Function IndexOf (item As Perspective) As Integer
Parameters
item
Perspective Perspective Perspective

The Perspective to be returned.

Returns

The zero-based index of the Perspective if the object is found; otherwise, -1.

IndexOf(String) IndexOf(String) IndexOf(String)

Gets the index of a Perspective that has the specified identifier.

public:
 int IndexOf(System::String ^ id);
public int IndexOf (string id);
Public Function IndexOf (id As String) As Integer
Parameters
id
String String String

The identifier of a Perspective to locate.

Returns

The zero-based index of the Perspective specified by id if the object is found; otherwise, -1.

Applies to