摘要: 意图本文将解释 XAttribute 类。这个类在xml 元素(element)中构建属性(attribute)。通过本文你能了解到它的用法。什么事xml中的属性?xml属性是一个和xml元素有关的名值对(Name/Value)。XAttribute 类代表一个xml属性。XAttribute 类XAttribute 类在System.Xml.Linq命名空间 ,它继承XObject。usingSystem;usingSystem.Collections.Generic;usingSystem.Xml;namespaceSystem.Xml.Linq{publicclassXAttribute 阅读全文
posted @ 2012-03-06 14:54 UnhandleException 阅读(350) 评论(0) 推荐(0) 编辑