摘要: .NET 读取Xml文件,用到XmlDocument类。 1、要获取文档的根: DocumentElement。 2、Attributes :获取 XmlAttributeCollection 包含此节点的属性。 (主体操作都是获取属性值) 1 DirectoryInfo dir = new Dir 阅读全文
posted @ 2018-06-12 09:47 尘世书童 阅读(169) 评论(0) 推荐(0)