Condividi tramite


Metodo Contains (Hierarchy)

Indicates whether the collection contains a specified Hierarchy.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Contains ( _
    item As Hierarchy _
) As Boolean
'Utilizzo
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

Parametri

Valore restituito

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