User Tools

Site Tools


api:dk11:delphi:gisxmldoc.ixmldocument.createnode_string_tnodetype_string

Table of Contents

IXMLDocument.CreateNode method

DK11 for Delphi | GisXmlDoc.IXMLDocument.CreateNode | Methods | Properties

Creates a new node associated with document.

Syntax

// Delphi
public
  function CreateNode(
    const _name : String;
    _type : TNodeType = TNodeType.ntElement;
    const _data : String = ''
  ) : IXMLNode; virtual; abstract;
// C++ Builder
public:
  virtual IXMLNode* CreateNode(
    const UnicodeString _name,
    TNodeType* _type,
    const UnicodeString _data
  ) = 0;

Parameters

Name Type Description
_name String name of the node
_type TNodeType type of node
_data String additional data

Result

Type Description
IXMLNode interface for the new node
2020/05/07 01:10

Page Tools