Click or drag to resize
ExpressionEvaluatorIsEnumObjectEqual Method
Compares the given enumeration object with any object. If the object is not enumeration of the same type, then compares it according its values (integer enumeration with integer, otherwise as text constants).

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 9.0.0
Syntax
C#
protected static bool IsEnumObjectEqual(
	Enum enumObj,
	Object obj2,
	EvaluationContext context
)

Parameters

enumObj
Type: SystemEnum
enumeration obj to compare
obj2
Type: SystemObject
Object to compare with
context
Type: CMS.MacroEngineEvaluationContext
Evaluation context

Return Value

Type: Boolean
See Also