c# XML添加节点属性

<A>
<B></B>
添加属性<L>nima</L>
<C></C>
</A>

node.SetAttribute("L","nima");
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答