Xml.XMLDoc.TXMLNode.ChildNodes

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ChildNodes: IXMLNodeList read GetChildNodes write SetChildNodes;

C++

__property Xml::Xmlintf::_di_IXMLNodeList ChildNodes = {read=GetChildNodes, write=SetChildNodes};

Properties

Type Visibility Source Unit Parent
property protected
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLNode

Description

Lists the child nodes of this node.

TXMLNode uses ChildNodes to keep track of the subnodes of a node. ChildNodes is an IXMLNodeList interface, which can be used to access individual child nodes or to add child nodes to or delete them from this node. Each child node specifies this node as its parent node.

Applications can't use this protected property to access the child nodes of a node. Instead, they use the ChildNodes property of the IXMLNode interface for this node.

Note: Attributes are not considered child nodes of a node. To get the values of this node's attributes, use the Attributes property instead.

See Also


Code Examples