Doc-O-Matic Live Demo / XmlNotepad Namespace / Classes / TreeParent
Close
domv10-banner-200
TreeParent Class

Namespace: XmlNotepad

This class normalizes the concept of parent for XmlTreeNode and XmlNode node. The reason for this is that XmlTreeNode.Parent returns null on root level nodes and XmlNode.ParentNode returns null on XmlAttributes. So this class provides one uniform way to insert and remove both TreeNodes and their associated XmlNodes.

C++
C#
Visual Basic
IDL
JavaScript
class TreeParent;
XmlNotepad.TreeParent

MCorning made public so subforms have access.

Copyright © 2020. All rights reserved.