Megosztás a következőn keresztül:


PerspectiveHierarchyCollection.Contains Method (PerspectiveHierarchy)

Indicates whether the collection contains a specified PerspectiveHierarchy.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Contains ( _
    item As PerspectiveHierarchy _
) As Boolean
'Usage
Dim instance As PerspectiveHierarchyCollection
Dim item As PerspectiveHierarchy
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    PerspectiveHierarchy item
)
public:
bool Contains(
    PerspectiveHierarchy^ item
)
member Contains : 
        item:PerspectiveHierarchy -> bool 
public function Contains(
    item : PerspectiveHierarchy
) : boolean

Return Value

Type: System.Boolean
true if the PerspectiveHierarchy exists in the collection; otherwise, false.