AddTextNode
Creates a new node with the specified name, id and the string value and returns that node.
TreeNode AddTextNode( LPCSTR strVal, LPCSTR Name = NULL, int nChildID = -1, BOOL bSetAsCDATA = FALSE, int nCodePage = -1 )
The newly added node.
EX1
void TreeNode_AddTextNode_ex1() { Tree myTree; TreeNode tn1; tn1 = myTree.AddTextNode("abcd", "node1", 1); out_tree(myTree); }
TreeNode::AddNumericNode, TreeNode::AddNode
origin.h