Пример #1
0
        /// <summary>
        /// 获得配置文件节点文本
        /// </summary>
        /// <param name="nodeName"></param>
        /// <returns></returns>
        /// <summary>
        public static List <string> GetNodeTextList(string nodeName)
        {
            XmlToolsCom   xtCom1 = new XmlToolsCom();
            List <string> list   = xtCom1.GetNodesText(nodeName);

            return(list);
        }
Пример #2
0
        /// <summary>
        /// 获得配置文件节点文本
        /// </summary>
        /// <param name="nodeName"></param>
        /// <returns></returns>
        public static string GetNodeText(string nodeName)
        {
            XmlToolsCom xtCom1 = new XmlToolsCom();

            return(xtCom1.GetNodeText(nodeName));
        }