HierarchyCollection.Contains Method (Hierarchy)
Indicates whether the collection contains a specified Hierarchy.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Contains ( _
item As Hierarchy _
) As Boolean
'Usage
Dim instance As HierarchyCollection
Dim item As Hierarchy
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
Hierarchy item
)
public:
bool Contains(
Hierarchy^ item
)
member Contains :
item:Hierarchy -> bool
public function Contains(
item : Hierarchy
) : boolean
Parameters
- item
Type: Microsoft.AnalysisServices.Hierarchy
The Hierarchy to be located.
Return Value
Type: System.Boolean
true if the Hierarchy is contained in the collection; otherwise, false.