XmlHelper Class | Helper帮助文档 |
Xml的操作公共类
Inheritance Hierarchy
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class XmlHelper
Public Class XmlHelper
public ref class XmlHelper
type XmlHelper = class end
The XmlHelper type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | XmlHelper |
实例化XmlHelper对象
|
Methods
Name | Description | |
---|---|---|
![]() | AppendNode(DataSet) |
1. 功能:新增节点。
2. 使用条件:将DataSet中的第一条记录插入Xml文件中。
|
![]() | AppendNode(XmlNode) |
1. 功能:新增节点。
2. 使用条件:将任意节点插入到当前Xml文件中。
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetAttributeValue(String, String) |
获取指定XPath表达式节点的属性值
|
![]() ![]() | GetAttributeValue(String, String, String) |
获取指定XPath表达式节点的属性值
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetNode |
获取指定XPath表达式的节点对象
|
![]() | GetType | (Inherited from Object.) |
![]() | GetValue(String) |
获取指定XPath表达式节点的值
|
![]() ![]() | GetValue(String, String) |
获取指定XPath表达式节点的值
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | RemoveNode |
删除指定XPath表达式的节点
|
![]() | Save |
保存XML文件
|
![]() | ToString | (Inherited from Object.) |
See Also