Click or drag to resize
TransformationMethodsIfCompare Method
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: 12.0.0
Syntax
C#
public static Object IfCompare(
	EvaluationContext context,
	params Object[] parameters
)

Parameters

context
Type: CMS.MacroEngineEvaluationContext
Evaluation context with child resolver
parameters
Type: SystemObject
Method parameters

Return Value

Type: Object
See Also