XmlHelper Class

HD.Common

XmlHelper Class Helper帮助文档
Xml的操作公共类
Inheritance Hierarchy

SystemObject  HD.CommonXmlHelper

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

  NameDescription
Public methodXmlHelper
实例化XmlHelper对象
Top
Methods

  NameDescription
Public methodAppendNode(DataSet)
1. 功能:新增节点。 2. 使用条件:将DataSet中的第一条记录插入Xml文件中。
Public methodAppendNode(XmlNode)
1. 功能:新增节点。 2. 使用条件:将任意节点插入到当前Xml文件中。
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetAttributeValue(String, String)
获取指定XPath表达式节点的属性值
Public methodStatic memberGetAttributeValue(String, String, String)
获取指定XPath表达式节点的属性值
Public methodGetHashCode (Inherited from Object.)
Public methodGetNode
获取指定XPath表达式的节点对象
Public methodGetType (Inherited from Object.)
Public methodGetValue(String)
获取指定XPath表达式节点的值
Public methodStatic memberGetValue(String, String)
获取指定XPath表达式节点的值
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveNode
删除指定XPath表达式的节点
Public methodSave
保存XML文件
Public methodToString (Inherited from Object.)
Top
See Also

Reference