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