Click or drag to resize
TransformationHelperIfCompare Method

Note: This API is now obsolete.

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

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 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