[Overview][Classes][Procedures and functions][Index] Reference for unit 'Laz2_XMLCfg' (#lazutils)

TXMLConfig.SetValue

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

Declaration

Source position: laz2_xmlcfg.pas line 118

public procedure TXMLConfig.SetValue(

  const APath: string;

  const AValue: string

);

procedure TXMLConfig.SetValue(

  const APath: string;

  AValue: Int64

);

procedure TXMLConfig.SetValue(

  const APath: string;

  AValue: Boolean

);

procedure TXMLConfig.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.

Arguments

APath

  

Path to the DOM node updated in the method.

AValue

  

Value to store in the specified DOM node.

Arguments

APath

  

Path to the DOM node updated in the method.

AValue

  

Value to store in the specified DOM node.

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

TXMLConfig.SetExtendedValue

  

Sets the value in the DOM node at the specified path using an extended data type.

TXMLConfig.DeleteValue

  

Deletes the value stored in the DOM node at the specified path.

TXMLConfig.SetDeleteValue

  

Updates or removes the value stored at the specified path.

TXMLConfig.SetDeleteExtendedValue

  

Updates or removes the Extended value at the specified path.


Version 4.0 Generated 2025-05-03 Home