Export (0) Print
Expand All

XmlNode Class

Represents a single node in the XML document.

For a list of all members of this type, see XmlNode Members.

System.Object
   System.Xml.XmlNode
      Derived classes

[Visual Basic]
MustInherit Public Class XmlNode
   Implements ICloneable, IEnumerable, IXPathNavigable
[C#]
public abstract class XmlNode : ICloneable, IEnumerable,
   IXPathNavigable
[C++]
public __gc __abstract class XmlNode : public ICloneable,
   IEnumerable, IXPathNavigable
[JScript]
public abstract class XmlNode implements ICloneable, IEnumerable,
   IXPathNavigable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

This class implements the W3C Document Object Model (DOM) Level 1 Core and the Core DOM Level 2. The DOM is an in-memory (cache) tree representation of an XML document. XmlNode is the base class in the .NET implementation of the DOM. It supports XPath selections and provides editing capabilities. The XmlDocument class extends XmlNode and represents an XML document. You can use XmlDocument to load and save XML data. It also includes methods for node creation. See XML Document Object Model (DOM) for more information.

Requirements

Namespace: System.Xml

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Xml (in System.Xml.dll)

See Also

XmlNode Members | System.Xml Namespace | Create New Nodes in the DOM | SelectNodes

Show:
© 2014 Microsoft