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

TDOMDocument.CreateTextNode

Creates a new DOM Text node with the specified value.

Declaration

Source position: laz2_dom.pas line 510

public function TDOMDocument.CreateTextNode(

  const data: DOMString

):TDOMText;

Arguments

data

  

Value assigned to the new DOM Text node.

Function result

DOM Text node created in the method.

Description

CreateTextNode is a TDOMText function used to create a DOM Text node with the specified value. Data contains the value assigned to the NodeValue property in the TDOMText class instance. CreateTextNode calls the Alloc method to enable memory management for the new TDOMText class instance.

See also

TDOMDocument.Alloc

  

Ensures the DOM node class type is allocated using the Node pool for the document.

TDOMText

  

Implements the DOM Text interface from the DOM specification.

TDOMNode.NodeValue

  

Value for the DOM node.


Version 3.2 Generated 2024-02-25 Home