Doc-O-Matic Live Demo / XmlNotepad Namespace / Classes / MoveNode / MoveNode.MoveNode
Close
domv10-banner-200
MoveNode.MoveNode Constructor

Namespace: XmlNotepad

Move or copy a node from one place to another place in the tree.

C++
C#
Visual Basic
IDL
JavaScript
MoveNode(XmlTreeView view, XmlTreeNode source, XmlTreeNode target, InsertPosition where, bool copy);
Parameters
Description
XmlTreeView view
The MyTreeView that we are inserting into
XmlTreeNode source
The node that we are moving. This node may not be in the tree and that is ok, so it might be a node that is being cut&paste from another process for example
XmlTreeNode target
The existing node that establishes where in the tree we want to move the source node to
InsertPosition where
The position relative to the target node (before or after)
bool copy
Whether we are moving or copying the source node
Copyright © 2020. All rights reserved.