22智能在线
新记
c# XML添加节点属性
<A>
<B></B>
添加属性<L>nima</L>
<C></C>
</A>
举报该文章
相关建议 2015-08-13
node.SetAttribute("L","nima");
温馨提示:内容为网友见解,仅供参考
当前网址:
https://22.t2y.org/zz/c0xshhfi0sii26hc60t.html
其他看法
无其他回答
相似回答
大家正在搜
相关问题
C#中如何用代码在Xml文件中添加属性?
C# 如何得到一XML文件中指定的节点属性值
c#用XmlAttribute如何往xml文档里面节点写入属...
C#在xml文件中指定节点插入节点和属性
c# XmlNode添加属性,如何操作
C#中怎样修改XML中子节点的值
C#如何设置xml根结点属性
c# 在xml 跟节点下添加子节点