Sign in Join
FPDoc Onlineexperiment

TXMLConfig.StringToValueWithTypeInfo function

Member of TXMLConfigprotectedIn unit Laz2_XMLCfg

Converts the specified string value to a value using the specified type.

Declaration

pascal
function StringToValueWithTypeInfo(const AString: string; 
 const APTypeInfo: PTypeInfo; 
 out AResult): Boolean

Arguments

AString

String with the value converted to the specified type in the method.

APTypeInfo

Pointer to the RTTI type information for the converted value.

AResult

Untyped output parameter with the value converted to the specified type.

Function result

The return value is overloaded in StringToValueWithTypeInfo. Returns True if the value is successfully converted to the type in APTypeInfo. Returns a string with the converted value in an overloaded variant.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.