Determines whether the specified key is contained within the dictionary.
Namespace: Facilita.Fc.RuntimeAssembly: fc_clr (in fc_clr.dll) Version: 9.5.7.98
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.Implements
IDataDictionary HasKey(String)Examples
if (myDictionary.HasKey("newHostName")) { // do something } else { // do something else }
See Also