다음을 통해 공유


IVsDataExplorerChildNodeCollection.Contains 메서드 (String, array<Object )

서버 탐색기에서 연결 노드를 지정 된 형식 이름과 식별자를 해당 있는지 여부를 나타냅니다.

네임스페이스:  Microsoft.VisualStudio.Data.Services
어셈블리:  Microsoft.VisualStudio.Data.Services(Microsoft.VisualStudio.Data.Services.dll)

구문

‘선언
Function Contains ( _
    typeName As String, _
    identifier As Object() _
) As Boolean
bool Contains(
    string typeName,
    Object[] identifier
)
bool Contains(
    String^ typeName, 
    array<Object^>^ identifier
)
abstract Contains : 
        typeName:string * 
        identifier:Object[] -> bool 
function Contains(
    typeName : String, 
    identifier : Object[]
) : boolean

매개 변수

  • typeName
    형식: System.String
    요청 된 데이터 개체의 형식 이름입니다.
  • identifier
    형식: array<System.Object[]
    요청 된 데이터 개체를 고유 하 게 식별 하는 식별자 부분을 배열 합니다.

반환 값

형식: System.Boolean
true 서버 탐색기에서 지정 된 연결 노드를 포함 하는 경우. 그렇지 않으면 false.

예외

예외 조건
ArgumentNullException

typeName 또는 identifier 매개 변수가 nullNull 참조(Visual Basic의 경우 Nothing)인 경우

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

IVsDataExplorerChildNodeCollection 인터페이스

Contains 오버로드

Microsoft.VisualStudio.Data.Services 네임스페이스