| JobConfigurationTryGetSettingT Method |
Tries to get a setting with the specified type from the job settings.
Namespace:
Ookii.Jumbo.Jet.Jobs
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax public bool TryGetSetting<T>(
string key,
out T value
)
Public Function TryGetSetting(Of T) (
key As String,
<OutAttribute> ByRef value As T
) As Boolean
public:
generic<typename T>
bool TryGetSetting(
String^ key,
[OutAttribute] T% value
)
member TryGetSetting :
key : string *
value : 'T byref -> bool
Parameters
- key
- Type: SystemString
The name of the setting.. - value
- Type: T
If the function returns , receives the value of the setting.
Type Parameters
- T
- The type of the setting.
Return Value
Type:
Boolean if the settings dictionary contained the specified setting; otherwise,
.
See Also