TEnum Class
Provides static methods to manipulate an enumeration type.
Spring.SystemUtils.TEnum
The TEnum type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ConvertToInteger<T>(T) | Represents method |
![]() ![]() | GetEnumTypeData<T> | Represents method |
![]() ![]() | GetEnumTypeInfo<T> | Represents method |
![]() ![]() | GetName<T>(Integer) | Overloaded. Represents method |
![]() ![]() | GetName<T>(T) | Overloaded. Represents method |
![]() ![]() | GetNames<T> | Represents method |
![]() ![]() | GetValue<T>(string) | Overloaded. Represents method |
![]() ![]() | GetValue<T>(T) | Overloaded. Represents method |
![]() ![]() | GetValues<T> | Represents method |
![]() ![]() | GetValueStrings<T> | Represents method |
![]() ![]() | IsValid<T>(Integer) | Overloaded. Represents method |
![]() ![]() | IsValid<T>(T) | Overloaded. Represents method |
![]() ![]() | Parse<T>(Integer) | Overloaded. Represents method |
![]() ![]() | Parse<T>(string) | Overloaded. Represents method |
![]() ![]() | TryParse<T>(Integer,T) | Overloaded. Represents method |
![]() ![]() | TryParse<T>(string,T) | Overloaded. Represents method |
This does only work for non enum types that have type info. Discontiguous enumerations and enumerations which don't start at zero don't have typeinfo. See: http://stackoverflow.com/questions/1420562/why-do-i-get-type-has-no-typeinfo-error-with-an-enum-type