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