【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.3.17.29 TreeNode::Remove
Contents
Description
Removes the node that calls this method.
Syntax
BOOL Remove( )
Parameters
Return
TRUE if the node was removed successfully; FALSE otherwise.
Examples
EX1
void TreeNode_Remove_ex1() { Tree myTree; TreeNode tn1; tn1 = myTree.AddTextNode("abc", "node1", 2); bool flag1 = tn1.Remove(); printf("the number of nodes in myTree = %d", myTree.GetNodeCount()); }
Remark
See Also
TreeNode::RemoveChild, TreeNode::RemoveChildrenWithPrefix
Header to Include
origin.h