Top Method Summary
Options Name Purpose
System.Enum Add (Enum, Enum, Enum) Performs an arithmetic Add on three .NET Enum values *
System.Enum Add (Enum, Enum, Enum, Enum) Performs an arithmetic Add on four .NET Enum values *
System.Enum Add (Enum, Enum, Enum, Enum, Enum) Performs an arithmetic Add on five .NET Enum values *
System.Enum Add (Enum[]) Performs an arithmetic Add on an Array of .NET Enum values *
LOGICAL Contains (Enum, Enum) Returns true, when the specified list of flagged .NET Enum values does contain the the specified value (e.g. comparing DockStyle Top, Left
System.Enum FromInteger (Type, integer) Returns the .NET Enum member that represents the given integer value
Progress.Lang.Object FromString (character, Class) Returns the Progress.Lang.Enum or Consultingwerk.Enum for the given string
System.Enum Or (Enum, Enum) Performs a logical Or on two .NET Enum values
System.Enum Or (Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
System.Enum Or (Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
System.Enum Or (Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum) Performs a logical Or on an Array of .NET Enum values
System.Enum Or (Enum[]) Performs a logical Or on an Array of .NET Enum values
CHARACTER ToList (Object[]) Converts an Enum array to a character list

Top Constructor Summary
Options Name Purpose
EnumHelperExt () Constructor for the EnumHelperExt class


Method Detail
Top

System.Enum Add (Enum, Enum, Enum)

Purpose: Performs an arithmetic Add on three .NET Enum values
Notes: Use Or to combine flags, see Add (System.Enum extent)

Parameters:
poEnum1 System.Enum
The first System.Enum for the Add operation
poEnum2 System.Enum
The second System.Enum for the Add operation
poEnum3 System.Enum
The third System.Enum for the Add operation
Returns System.Enum
The resulting Enum
Top

System.Enum Add (Enum, Enum, Enum, Enum)

Purpose: Performs an arithmetic Add on four .NET Enum values
Notes: Use Or to combine flags, see Add (System.Enum extent)

Parameters:
poEnum1 System.Enum
The first System.Enum for the Add operation
poEnum2 System.Enum
The second System.Enum for the Add operation
poEnum3 System.Enum
The third System.Enum for the Add operation
poEnum4 System.Enum
The fourth System.Enum for the Add operation
Returns System.Enum
The resulting Enum
Top

System.Enum Add (Enum, Enum, Enum, Enum, Enum)

Purpose: Performs an arithmetic Add on five .NET Enum values
Notes: Use Or to combine flags, see Add (System.Enum extent)

Parameters:
poEnum1 System.Enum
The first System.Enum for the Add operation
poEnum2 System.Enum
The second System.Enum for the Add operation
poEnum3 System.Enum
The third System.Enum for the Add operation
poEnum4 System.Enum
The fourth System.Enum for the Add operation
poEnum5 System.Enum
The fifth System.Enum for the Add operation
Returns System.Enum
The resulting Enum
Top

System.Enum Add (Enum[])

Purpose: Performs an arithmetic Add on an Array of .NET Enum values
Notes: Uses Progress.Util.EnumHelper:Add, which adds the underlying
values. For flags enums this equals Or only as long as no flag
is contained in more than one value - adding Left to the
combined value "Top, Left" does not yield "Top, Left". Use Or
to combine flags.
SCL-5946: An array with a single element returns that element,
consistent with Or

Parameters:
poEnumArray System.Enum
An Array of Enum values
Returns System.Enum
The resulting Enum
Top

LOGICAL Contains (Enum, Enum)

Purpose: Returns true, when the specified list of flagged .NET Enum values does
contain the the specified value (e.g. comparing DockStyle Top, Left
Notes:

Parameters:
poEnumList System.Enum
A list of flagged Enum values
poValue System.Enum
A single Enum value
Returns LOGICAL
True when the specified list of flagged Enum values does contain the specified value
Top

System.Enum FromInteger (Type, integer)

Purpose: Returns the .NET Enum member that represents the given integer value
Notes: SCL-592
Only defined members are returned. A combined flags value (e.g. 5
for AnchorStyles Top, Left) returns the unknown value, use
System.Enum:ToObject ToObject to create such a value.
SCL-5946: The member values are compared as decimal values, so
enum types based on uint, long or ulong with members outside of
the integer range no longer raise an OverflowException

Parameters:
poType System.Type
The Enum Member type to return the member from
piValue INTEGER
The value to return the enum member for
Returns System.Enum
The enum member with the given value
Top

Progress.Lang.Object FromString (character, Class)

Purpose: Returns the Progress.Lang.Enum or Consultingwerk.Enum for
the given string
Notes: Returns the unknown value when poClass is neither a
Consultingwerk.Enum nor a Progress.Lang.Enum.
SCL-5946: A Consultingwerk.Enum class needs a public static
FromString (character) method, otherwise an
InvalidParameterValueException is raised

Parameters:
pcValue CHARACTER
The Enum Name
poClass Progress.Lang.Class
The Enum Class
Returns Progress.Lang.Object
The enum member
Top

System.Enum Or (Enum, Enum)

Purpose: Performs a logical Or on two .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

System.Enum Or (Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

System.Enum Or (Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

System.Enum Or (Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
poEnum7 System.Enum
The seventh System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
poEnum7 System.Enum
The seventh System.Enum for the Or operation
poEnum8 System.Enum
The eighth System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
poEnum7 System.Enum
The seventh System.Enum for the Or operation
poEnum8 System.Enum
The eighth System.Enum for the Or operation
poEnum9 System.Enum
The ninth System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
poEnum7 System.Enum
The seventh System.Enum for the Or operation
poEnum8 System.Enum
The eighth System.Enum for the Or operation
poEnum9 System.Enum
The ninth System.Enum for the Or operation
poEnum10 System.Enum
The tenth System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
poEnum7 System.Enum
The seventh System.Enum for the Or operation
poEnum8 System.Enum
The eighth System.Enum for the Or operation
poEnum9 System.Enum
The ninth System.Enum for the Or operation
poEnum10 System.Enum
The tenth System.Enum for the Or operation
poEnum11 System.Enum
The eleventh System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

System.Enum Or (Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum, Enum)

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnum1 System.Enum
The first System.Enum for the Or operation
poEnum2 System.Enum
The second System.Enum for the Or operation
poEnum3 System.Enum
The third System.Enum for the Or operation
poEnum4 System.Enum
The fourth System.Enum for the Or operation
poEnum5 System.Enum
The fifth System.Enum for the Or operation
poEnum6 System.Enum
The sixth System.Enum for the Or operation
poEnum7 System.Enum
The seventh System.Enum for the Or operation
poEnum8 System.Enum
The eighth System.Enum for the Or operation
poEnum9 System.Enum
The ninth System.Enum for the Or operation
poEnum10 System.Enum
The tenth System.Enum for the Or operation
poEnum11 System.Enum
The eleventh System.Enum for the Or operation
poEnum12 System.Enum
The twelve System.Enum for the Or operation
Returns System.Enum
The resulting Enum
Top

System.Enum Or (Enum[])

Purpose: Performs a logical Or on an Array of .NET Enum values
Notes:

Parameters:
poEnumArray System.Enum
An Array of Enum values
Returns System.Enum
The resulting Enum
Top

CHARACTER ToList (Object[])

Purpose: Converts an Enum array to a character list
Notes: The result is a comma delimited list of the ToString () values
of the array elements. The ToString () of a combined .NET flags
enum value (e.g. "Top, Left" for AnchorStyles) contains commas
itself, so such an element spans several entries of the list
(with a leading blank from the second entry on) - do not rely on
num-entries () matching the array size when the array may
contain combined flag values.
SCL-5946: Invalid array elements are skipped

Parameters:
poArray Progress.Lang.Object
The array of Enums (ABL or .NET)
Returns CHARACTER
The resulting character list


Constructor Detail
Top

EnumHelperExt ()

Purpose: Constructor for the EnumHelperExt class
Notes: Disallow instance creation



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       10.10.2026 15:35:23