Condividi tramite


PerspectiveCalculationCollection.Contains Method

Definition

Overloads

Contains(PerspectiveCalculation)

Indicates whether the collection contains the specified PerspectiveCalculation.

Contains(String)

Indicates whether the collection contains a PerspectiveCalculation with the specified name.

Contains(PerspectiveCalculation)

Indicates whether the collection contains the specified PerspectiveCalculation.

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

Parameters

Returns

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

Applies to

Contains(String)

Indicates whether the collection contains a PerspectiveCalculation with the specified name.

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

Parameters

name
String

The name of the PerspectiveCalculation to be located.

Returns

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

Exceptions

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

Applies to