다음을 통해 공유


Contains 메서드 (T)

Determines whether the collection contains the specified object.

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

구문

‘선언
Function Contains ( _
    item As T _
) As Boolean
‘사용 방법
Dim instance As IMetadataCollection
Dim item As T
Dim returnValue As Boolean

returnValue = instance.Contains(item)
bool Contains(
    T item
)
bool Contains(
    T item
)
abstract Contains : 
        item:'T -> bool 
function Contains(
    item : T
) : boolean

매개 변수

  • item
    유형: T
    The object to locate in the collection.

반환 값

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