|
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.251-beta+c370f3da3791592278238855631f53a5ff418c68
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