다음을 통해 공유


Contains 메서드 (Hierarchy)

Indicates whether the collection contains a specified Hierarchy.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)

구문

‘선언
Public Function Contains ( _
    item As Hierarchy _
) As Boolean
‘사용 방법
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

매개 변수

반환 값

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