Метод SfcListCollection<T, K, ParentT>.Contains (K)
Determines whether an element is in the list collection.
Пространство имен: Microsoft.SqlServer.Management.Sdk.Sfc
Сборка: Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Синтаксис
'Декларация
Public Overrides Function Contains ( _
key As K _
) As Boolean
'Применение
Dim instance As SfcListCollection
Dim key As K
Dim returnValue As Boolean
returnValue = instance.Contains(key)
public override bool Contains(
K key
)
public:
virtual bool Contains(
K key
) override
abstract Contains :
key:'K -> bool
override Contains :
key:'K -> bool
public override function Contains(
key : K
) : boolean
Параметры
- key
Тип: K
The object to locate in the list collection.
Возвращаемое значение
Тип: System.Boolean
true if the element is found in the list; otherwise, false.