Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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