PerspectiveHierarchyCollection.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(PerspectiveHierarchy) |
Indicates whether the collection contains the specified PerspectiveHierarchy. |
Contains(String) |
Indicates whether the collection contains a PerspectiveHierarchy with the specified HierarchyID. |
Contains(PerspectiveHierarchy)
Indicates whether the collection contains the specified PerspectiveHierarchy.
public bool Contains (Microsoft.AnalysisServices.PerspectiveHierarchy item);
override this.Contains : Microsoft.AnalysisServices.PerspectiveHierarchy -> bool
Public Function Contains (item As PerspectiveHierarchy) As Boolean
Parameters
- item
- PerspectiveHierarchy
The PerspectiveHierarchy to be located.
Returns
True, if the specified PerspectiveHierarchy is found in the collection, otherwise, false.
Applies to
Contains(String)
Indicates whether the collection contains a PerspectiveHierarchy with the specified HierarchyID.
public bool Contains (string hierarchyId);
override this.Contains : string -> bool
Public Function Contains (hierarchyId As String) As Boolean
Parameters
- hierarchyId
- String
The HierarchyID of the PerspectiveHierarchy to be located.
Returns
True, if the specified PerspectiveHierarchy is found in the collection, otherwise, false.
Exceptions
The specified hierarchyId is a null reference (Nothing in Visual Basic).