help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'typinfo' (#rtl)

GetEnumNameCount

Return number of names in an enumerated type

Declaration

Source position: typinfo.pp line 278

function GetEnumNameCount(

  enum1: PTypeInfo

):SizeInt;

Description

GetEnumNameCount returns the number of values (names) in the enumerated type, described by enum1

Errors

No checking is done to see whether Enum1 is really type information of an enumerated type.

See also

GetEnumValue

  

Get ordinal value for enumerated type by name

GetEnumName

  

Return name of enumeration constant.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505