Click or drag to resize

InitializationArgumentsGetVariableSingleValueT Method

Returns the first value of a scope variable from the Variables collection.

Namespace:  Omada.OE.Solution.OIM.AppLogic.SurveyFeature.PostActions
Assembly:  Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public T GetVariableSingleValue<T>(
	string name,
	T defaultResult
)

Parameters

name
Type: SystemString
Name of the scope variable.
defaultResult
Type: T
The defaultResult is retuned of the scope variable doesn't exist or if it has no values.

Type Parameters

T
Must be either: int, string, DateTime or bool

Return Value

Type: T
See Also