Метод IReadOnlyCollection<T>.Contains
Determines whether the specified item is contained in the collection.
Пространство имен: Microsoft.SqlServer.Management.Sdk.Sfc
Сборка: Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Синтаксис
'Декларация
Function Contains ( _
item As T _
) As Boolean
'Применение
Dim instance As IReadOnlyCollection
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 item is found in the collection; otherwise, false.