Share via


PerspectiveDimensionCollection.Contains Method

Definition

Overloads

Contains(PerspectiveDimension)

Indicates whether the collection contains the specified PerspectiveDimension.

Contains(String)

Indicates whether the collection contains a PerspectiveDimension with the specified CubeDimensionID.

Contains(PerspectiveDimension)

Indicates whether the collection contains the specified PerspectiveDimension.

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

Parameters

item
PerspectiveDimension

The PerspectiveDimension to be located.

Returns

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

Applies to

Contains(String)

Indicates whether the collection contains a PerspectiveDimension with the specified CubeDimensionID.

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

Parameters

cubeDimensionId
String

The CubeDimensionID of the PerspectiveDimension to be located.

Returns

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

Exceptions

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

Applies to