Click or drag to resize
TransformationHelperIf Method

Note: This API is now obsolete.

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: 13.0.131
Syntax
C#
[ObsoleteAttribute("This method is obsolete and will be removed in the next version. Use custom implementation instead.")]
public Object If(
	Object value,
	Object trueResult,
	Object falseResult
)

Parameters

value
Type: SystemObject
Value to be evaluated
trueResult
Type: SystemObject
True result
falseResult
Type: SystemObject
False result

Return Value

Type: Object
See Also