Condividi tramite


PerspectiveActionCollection.IndexOf Method

Definition

Overloads

IndexOf(PerspectiveAction)

Searches for the specified PerspectiveAction and returns the zero-based index of it in the collection.

IndexOf(String)

Searches for a PerspectiveAction with the specified ActionID and returns the zero-based index of it in the collection.

IndexOf(PerspectiveAction)

Searches for the specified PerspectiveAction and returns the zero-based index of it in the collection.

public int IndexOf (Microsoft.AnalysisServices.PerspectiveAction item);
override this.IndexOf : Microsoft.AnalysisServices.PerspectiveAction -> int
Public Function IndexOf (item As PerspectiveAction) As Integer

Parameters

item
PerspectiveAction

The PerspectiveAction to locate in the collection.

Returns

The zero-based index of the PerspectiveAction in the collection, if found; otherwise, -1.

Applies to

IndexOf(String)

Searches for a PerspectiveAction with the specified ActionID and returns the zero-based index of it in the collection.

public int IndexOf (string actionId);
override this.IndexOf : string -> int
Public Function IndexOf (actionId As String) As Integer

Parameters

actionId
String

The ActionID of the PerspectiveAction to locate in the collection.

Returns

The zero-based index of the PerspectiveAction in the collection, if found; otherwise, -1.

Applies to