|
ImmutableDictionaryTKey, TValueContainsKey Method
|
Determines whether the IDictionaryTKey, TValue contains an element with the specified key.
Namespace: GSF.ImmutableAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic bool ContainsKey(
TKey key
)
Public Function ContainsKey (
key As TKey
) As Boolean
public:
virtual bool ContainsKey(
TKey key
) sealed
abstract ContainsKey :
key : 'TKey -> bool
override ContainsKey :
key : 'TKey -> bool
function ContainsKey(key);
View SourceParameters
- key TKey
- The key to locate in the IDictionaryTKey, TValue.
Return Value
Booleantrue if the
IDictionaryTKey, TValue contains an element with the key; otherwise, false.
Implements
IDictionaryTKey, TValueContainsKey(TKey)
ExceptionsException | Condition |
---|
ArgumentNullException | key is null. |
See Also