Метод SfcReferenceCollection<K, T, S>.Contains
Determines whether this collection contains an element with the specified value.
Пространство имен: Microsoft.SqlServer.Management.Sdk.Sfc
Сборка: Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Синтаксис
'Декларация
Public Function Contains ( _
item As T _
) As Boolean
'Применение
Dim instance As SfcReferenceCollection
Dim item As T
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
T item
)
public:
virtual bool Contains(
T item
) sealed
abstract Contains :
item:'T -> bool
override Contains :
item:'T -> bool
public final function Contains(
item : T
) : boolean
Параметры
- item
Тип: T
The value to locate in the collection.
Возвращаемое значение
Тип: System.Boolean
true if the collection contains an element with the specified value; otherwise, false.
Реализует
IReadOnlyCollection<T>.Contains(T)