DualTypeSortedListCollection<T, B>.IMetadataCollection<B>.Contains 메서드 (String)

Determines whether the collection contains the specified element.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

구문

‘선언
Private Function Contains ( _
    name As String _
) As Boolean Implements IMetadataCollection(Of B).Contains
‘사용 방법
Dim instance As DualTypeSortedListCollection 
Dim name As String 
Dim returnValue As Boolean 

returnValue = CType(instance, IMetadataCollection(Of B)).Contains(name)
bool IMetadataCollection<B>.Contains(
    string name
)
private:
virtual bool Contains(
    String^ name
) sealed = IMetadataCollection<B>::Contains
private abstract Contains : 
        name:string -> bool  
private override Contains : 
        name:string -> bool
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.

매개 변수

  • name
    유형: System.String
    The name of the element to retrieve.

반환 값

유형: System.Boolean
true if the collection contains the element; otherwise, false.

구현

IMetadataCollection<T>.Contains(String)

참고 항목

참조

DualTypeSortedListCollection<T, B> 클래스

Contains 오버로드

Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스