public FuncTreeNode AddFuncTreeNode(string nodeXpath) { FuncTreeNode tmp = _funcTreeRoot.FindNodes(nodeXpath); //如果节点不存在 if (tmp == null) { return(_funcTreeRoot.AddNodes(nodeXpath)); } return(tmp); }