Click or drag to resize
Task Scheduler Managed Class Library

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
Syntax
protected T GetUnboundValueOrDefault<T>(
	string prop,
	T def = null
)
Request Example View Source

Parameters

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: T
The unbound value, if set, or the default value.
See Also