PerspectiveMeasureGroupCollection.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The PerspectiveMeasureGroup to be located.
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).