Freigeben über


IReadOnlyDictionary<K, T>.ContainsKey-Methode

Determines whether the element with the specified key is contained in the dictionary.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function ContainsKey ( _
    key As K _
) As Boolean
'Usage
Dim instance As IReadOnlyDictionary 
Dim key As K
Dim returnValue As Boolean 

returnValue = instance.ContainsKey(key)
bool ContainsKey(
    K key
)
bool ContainsKey(
    K key
)
abstract ContainsKey : 
        key:'K -> bool
function ContainsKey(
    key : K
) : boolean

Parameter

  • key
    Typ: K
    They key to locate in the dictionary.

Rückgabewert

Typ: System.Boolean
true if the key is found in the dictionary; otherwise false.

Siehe auch

Verweis

IReadOnlyDictionary<K, T> Schnittstelle

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace