2013年4月19日
摘要: //根据当前程序集的路径,加载xml文件 XDocument xdoc = XDocument.Load(@"d:\documents\visual studio 2010\Projects\Demo\第二题\MyLog4NetMain\log4net.xml"); //获取xml根节点的值 string dllPath = xdoc.Root.Attribute("path").Value; string dllType = xdoc.Root.Attribute("type").Value; ... 阅读全文
posted @ 2013-04-19 16:42 何金洋 阅读(188) 评论(0) 推荐(0) 编辑