 | TaskContextGetSetting(String, String) Method |
Gets a setting's string value with the specified default value, checking first in the stage settings and then in the job settings.
Namespace: Ookii.Jumbo.JetAssembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic string? GetSetting(
string key,
string? defaultValue
)
Public Function GetSetting (
key As String,
defaultValue As String
) As String
public:
String^ GetSetting(
String^ key,
String^ defaultValue
)
member GetSetting :
key : string *
defaultValue : string -> string
Parameters
- key String
- The name of the setting.
- defaultValue String
- The value to use if the setting is not present in the SettingsDictionary.
Return Value
StringThe value of the setting, or
defaultValue if the setting was not present in either the stage or job settings.
See Also