RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNode.NestingLevel Method

Returns the number of parents for this node in the node hierarchy.

Pascal
function NestingLevel: Integer;
C++
__fastcall int NestingLevel();

Application's can't call the protected NestingLevel property. It is used internally when formatting the XML text that corresponds to this XML document. 

NestingLevel returns the number of ancestors for this node in the node hierarchy. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!