Gets a Protocol by looking up a string in this Virtual User's data dictionary.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.7.98 (1.0.0.0)
Syntax
Parameters
- key
- Type: System String
The key to look for in the data dictionary.
- defaultValue
- Type: System String
The default value to use if the specified key does not exist in this Virtual User's data dictionary.
Return Value
The Protocol, or a Protocol relating to the defaultValue parameter.Examples
// Look in the data dictionary for the key "protocol1". If this key doesn't exist, then default to Protocol.HTTP Protocol protocol1 = GetProtocol("protocol1", "http");
See Also