Compartilhar via


Método Contains (PerspectiveHierarchy)

Indicates whether the collection contains a specified PerspectiveHierarchy.

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

Sintaxe

'Declaração
Public Function Contains ( _
    item As PerspectiveHierarchy _
) As Boolean
'Uso
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

Valor de retorno

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