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

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

Parameters

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

Return Value

Type: Boolean
See Also