PerspectiveActionCollection.Contains Method

Definition

Overloads

Contains(PerspectiveAction)

Indicates whether the collection contains the specified PerspectiveAction.

Contains(String)

Indicates whether the collection contains a PerspectiveAction with the specified ActionID.

Contains(PerspectiveAction)

Indicates whether the collection contains the specified PerspectiveAction.

public bool Contains (Microsoft.AnalysisServices.PerspectiveAction item);
override this.Contains : Microsoft.AnalysisServices.PerspectiveAction -> bool
Public Function Contains (item As PerspectiveAction) As Boolean

Parameters

item
PerspectiveAction

The PerspectiveAction to be located.

Returns

True, if the specified PerspectiveAction is found in the collection, otherwise, false.

Applies to

Contains(String)

Indicates whether the collection contains a PerspectiveAction with the specified ActionID.

public bool Contains (string actionId);
override this.Contains : string -> bool
Public Function Contains (actionId As String) As Boolean

Parameters

actionId
String

The ActionID of the PerspectiveAction to be located.

Returns

True, if the specified PerspectiveAction is found in the collection, otherwise, false.

Exceptions

The specified actionId is a null reference (Nothing in Visual Basic).

Applies to