Sign in Join
FPDoc Onlineexperiment

TXMLConfig.SetValue procedure

Member of TXMLConfigpublicIn unit Laz2_XMLCfg

Sets the value in a DOM node at the specified path.

Declaration

pascal
procedure SetValue(const APath: string; const AValue: string)
procedure SetValue(const APath: string; AValue: Int64)
procedure SetValue(const APath: string; AValue: Boolean)
procedure SetValue(const APath: string; const AValue; 
 const APTypeInfo: PTypeInfo)

Arguments

APath

Path to the DOM node updated in the method.

AValue

Value to store in the specified DOM node.

APTypeInfo

Pointer to the RTTI type information for the value.

Description

SetValue is an overloaded procedure used to set the value in the DOM node located at the path specified in APath. AValue contains the content stored in the specified DOM node. Overloaded variants of the method are provided where AValue is either a String, Int64, or Boolean data type. The String variant of the method is called to store the various value types in a DOM node.

Use SetExtendedValue to store an Extended data type in a specified DOM node.

See also

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