PerspectiveMeasureCollection.Contains Method

Definition

Overloads

Contains(PerspectiveMeasure)

Indicates whether the collection contains the specified PerspectiveMeasure.

Contains(String)

Indicates whether the collection contains a PerspectiveMeasure with the specified MeasureID.

Contains(PerspectiveMeasure)

Indicates whether the collection contains the specified PerspectiveMeasure.

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

Parameters

item
PerspectiveMeasure

The PerspectiveMeasure to be located.

Returns

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

Applies to

Contains(String)

Indicates whether the collection contains a PerspectiveMeasure with the specified MeasureID.

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

Parameters

measureId
String

The MeasureID of the PerspectiveMeasure to be located.

Returns

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

Exceptions

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

Applies to