PerspectiveMeasureGroupCollection.Contains Method

Definition

Overloads

Contains(PerspectiveMeasureGroup)

Indicates whether the collection contains the specified PerspectiveMeasureGroup.

Contains(String)

Indicates whether the collection contains a PerspectiveMeasureGroup with the specified MeasureGroupID.

Contains(PerspectiveMeasureGroup)

Indicates whether the collection contains the specified PerspectiveMeasureGroup.

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

Parameters

Returns

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

Applies to

Contains(String)

Indicates whether the collection contains a PerspectiveMeasureGroup with the specified MeasureGroupID.

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

Parameters

measureGroupId
String

The MeasureGroupID of the PerspectiveMeasureGroup to be located.

Returns

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

Exceptions

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

Applies to