Compartilhar via


Método Contains (Hierarchy)

Indicates whether the collection contains a specified Hierarchy.

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

Sintaxe

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

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
true if the Hierarchy is contained in the collection; otherwise, false.