Or( ) methodPerforms a bitwise inclusive OR operation on the underlying values of the specified enumeration types and returns a new instance. You typically use this method to set (turn on) a flag.
Return type: System.Enum class (from the .NET Framework)
Access:
Applies to:
EnumHelper:Or ( INPUT enum1 AS CLASS System.Enum,INPUT enum2 AS CLASS System.Enum )
enum-type:enum-memberWhere 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:BottomIf you want to use the returned System.Enum instance as a different enumeration type, you must cast the instance to that specific type using the CAST function.For information on the System.Enum class and .NET enumeration types, refer to the .NET Framework class library.
See also:
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |