MeasureGroupDimensionCollection.Contains MeasureGroupDimensionCollection.Contains MeasureGroupDimensionCollection.Contains Method

Definition

Overloads

Contains(MeasureGroupDimension) Contains(MeasureGroupDimension) Contains(MeasureGroupDimension)

Indicates whether the collection contains the specified MeasureGroupDimension.

Contains(String) Contains(String) Contains(String)

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

Contains(MeasureGroupDimension) Contains(MeasureGroupDimension) Contains(MeasureGroupDimension)

Indicates whether the collection contains the specified MeasureGroupDimension.

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

Parameters

Returns

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

Contains(String) Contains(String) Contains(String)

Indicates whether the collection contains a MeasureGroupDimension 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 String String

The CubeDimensionID of the MeasureGroupDimension to be located.

Returns

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

Exceptions

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

Applies to