|
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.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
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