Previous Next

AreEqual( ) method

(Windows only; GUI for .NET only)
Compares the underlying values of the specified enumeration types and returns TRUE if the values are equal. Otherwise, it returns FALSE.
Return type:
Access:
Applies to:
 
Syntax 
EnumHelper:AreEqual ( INPUT enum1 AS CLASS System.Enum, 
                      INPUT enum2 AS CLASS System.Enum )
enum1
Static reference to an enumeration value, or a reference to an enumeration type instance.
enum2
Static reference to an enumeration value, or a reference to an enumeration type instance.
Specify a static reference to an enumeration value using the following syntax:
 
Syntax 
enum-type:enum-member 
Where enum-type is the type name of the enumeration and enum-member is a member name of the enumeration. For example:
 
System.Windows.Forms.AnchorStyles:Bottom
See also:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.