Поделиться через


Метод 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.