Soap.TypeTrans.GetEnumValueEx
Delphi
function GetEnumValueEx(TypInfo: PTypeInfo; const Name: string): Integer;
C++
extern DELPHI_PACKAGE int __fastcall GetEnumValueEx _DEPRECATED_ATTRIBUTE0 (System::Typinfo::PTypeInfo TypInfo, const System::UnicodeString Name);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Soap.TypeTrans.pas Soap.TypeTrans.hpp |
Soap.TypeTrans | Soap.TypeTrans |
Description
Warning: GetEnumValueEx is deprecated. Please use GetEnumValueExW.
Converts a string to an enumeration value.
GetEnumValueEx converts a string to the corresponding enumeration value (integer code). The TypInfo
parameter represents the enumeration run-time type information. The Name
parameter represents the enumeration value string representation. Boolean values can also be used: True
, true
, 1
, and False
, false
, 0
.