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.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 13.0.131
Syntax 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:
BooleanSee Also