Unit 'TypInfo' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#rtl]

GetEnumeratedAliasValue

Return ordinal value for an enumerated value.

Declaration

Source position: typinfo.pp line 1334

function GetEnumeratedAliasValue(

  aTypeInfo: PTypeInfo;

  const aName: string

):Integer;

Description

GetEnumeratedAliasValue will return the ordinal value of the alias aName for type aTypeInfo.

See also

AddEnumElementAliases

  

Define aliases for enumerated elements.

RemoveEnumElementAliases

  

Remove aliases for enumerated elements.

GetEnumValue

  

Get ordinal value for enumerated type by name.


Documentation generated on: Dec 21 2024