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

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
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