IReadOnlyDictionary<TKey, TValue>.ContainsKey Method
Determines whether the dictionary contains a specific key.
Namespace: Microsoft.BusinessData.Infrastructure.Collections
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function ContainsKey ( _
key As TKey _
) As Boolean
'Usage
Dim instance As IReadOnlyDictionary
Dim key As TKey
Dim returnValue As Boolean
returnValue = instance.ContainsKey(key)
bool ContainsKey(
TKey key
)
Parameters
key
Type: TKeyThe specified key to search for.
Return Value
Type: System.Boolean
true if the key is found; otherwise, false.
See Also
Reference
IReadOnlyDictionary<TKey, TValue> Interface