[Overview][Resource strings][Constants][Types][Procedures and functions][Index] |
Returns the enum names into a TStrings object
Source position: tiRTTI.pas line 101
procedure tiGetEnumNames( |
TypeInfo: PTypeInfo; |
Names: TStrings; |
PrefixLen: Integer = 0 |
); |
TypeInfo |
|
Enum type that needs to be queried. |
Names |
|
String List that will contain the names when the method is complete. |
PrefixLen |
|
The length of enum prefixes we should trim off. |
Use this method if you want the actualy names of the enumerated types. The results are returned into a TStrings object. You can use it form example to populate a ComboBox will all enum names.