 | TriggerGetUnboundValueOrDefaultT Method |
Gets the unbound value or a default.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxprotected T GetUnboundValueOrDefault<T>(
string prop,
T def = null
)
Protected Function GetUnboundValueOrDefault(Of T) (
prop As String,
Optional def As T = Nothing
) As T
protected:
generic<typename T>
T GetUnboundValueOrDefault(
String^ prop,
T def = nullptr
)
Request Example
View SourceParameters
- prop
- Type: SystemString
The property name. - def (Optional)
- Type: T
The default value if not found in unbound value list.
Type Parameters
- T
- Return type.
Return Value
Type:
TThe unbound value, if set, or the default value.
See Also