Checks if dictionary contains the key.
Namespace: MonoSoftware.Core.CollectionsAssembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)
Syntax
C# |
---|
public bool ContainsKey(
TKey key
) |
Visual Basic |
---|
Public Function ContainsKey (
key As TKey
) As Boolean |
Visual C++ |
---|
public:
virtual bool ContainsKey(
TKey key
) sealed |
F# |
---|
abstract ContainsKey :
key : 'TKey -> bool
override ContainsKey :
key : 'TKey -> bool |
Parameters
- key
- Type: TKey
Item key
Return Value
Type:
BooleanTrue if dictionary contains the key, False otherwise
Implements
IDictionary<(Of <(<'TKey, TValue>)>)>..::..ContainsKey(TKey)See Also