PerspectiveDimensionCollection.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(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).