Click or drag to resize
TransformationHelper.If Method
If input value is evaluated as True then 'true result' is returned, otherwise 'false result' is returned.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
public Object If(
	Object value,
	Object trueResult,
	Object falseResult
)

Parameters

value
Type: System.Object
Value to be evaluated
trueResult
Type: System.Object
True result
falseResult
Type: System.Object
False result

Return Value

Type: Object
See Also