다음을 통해 공유


Contains 메서드 (String)

Indicates whether the collection contains a CubeHierarchy, with the specified identifier.

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

구문

‘선언
Public Function Contains ( _
    hierarchyId As String _
) As Boolean
‘사용 방법
Dim instance As CubeHierarchyCollection
Dim hierarchyId As String
Dim returnValue As Boolean

returnValue = instance.Contains(hierarchyId)
public bool Contains(
    string hierarchyId
)
public:
bool Contains(
    String^ hierarchyId
)
member Contains : 
        hierarchyId:string -> bool 
public function Contains(
    hierarchyId : String
) : boolean

매개 변수

반환 값

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