Determines whether the specified key is contained within the dictionary.
Namespace: Facilita.Fc.RuntimeAssembly: fc_clr (in fc_clr.dll) Version: 9.5.8.37
Syntax
Parameters
- key
- Type: System String
The key to be looked up in the dictionary.
Return Value
true if the dictionary contains the specified key; otherwise, false.Examples
if (myDictionary.HasKey("newHostName")) { // do something } else { // do something else }
See Also