Xml.XMLDoc.TXMLNode.PreviousSibling

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function PreviousSibling: IXMLNode;

C++

Xml::Xmlintf::_di_IXMLNode __fastcall PreviousSibling();

Properties

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

Description

Returns the previous child of this node's parent.

Use the TXMLNode object's IXMLNode interface to call the protected PreviousSibling method. PreviousSibling returns the node that precedes this one in the parent node's ChildNodes property list.

If this node is the first node in its parent's child list, PreviousSibling raises an exception.

See Also