TEnum Class

Definition

Provides static methods to manipulate an enumeration type.

Delphi
type TEnum = class(TObject)
Inheritance
TObject
TEnum

Remarks

This does only work for enum types that have type info. Discontiguous enumerations and enumerations which don't start at zero have no type info. See: http://stackoverflow.com/questions/1420562/why-do-i-get-type-has-no-typeinfo-error-with-an-enum-type

Methods