Click or drag to resize
CMSAbstractTransformationIfCompare Method
Transformation "if" statement for guid, int, string, double, boolean, DateTime The type of compare depends on comparable value (second parameter) If both values are NULL, method returns false result.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
public Object IfCompare(
	Object value,
	Object comparableValue,
	Object falseResult,
	Object trueResult
)

Parameters

value
Type: SystemObject
First value
comparableValue
Type: SystemObject
Second value
falseResult
Type: SystemObject
False result
trueResult
Type: SystemObject
True result

Return Value

Type: Object
See Also