 | JobConfigurationTryGetSettingT Method |
Tries to get a setting with the specified type from the job settings.
Namespace: Ookii.Jumbo.Jet.JobsAssembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic 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 String
- The name of the setting..
- value T
- If the function returns , receives the value of the setting.
Type Parameters
- T
- The type of the setting.
Return Value
Boolean if the settings dictionary contained the specified setting; otherwise,
.
See Also