System.Xml.XmlDocument.Implementation Property

Gets the System.Xml.XmlImplementation object for the current document.

Syntax

public XmlImplementation Implementation { get; }

Value

System.Xml.XmlImplementation object which created this object, or null if there is no such relevant object.

Remarks

XmlDocument objects created from the same XmlImplementation share the same System.Xml.XmlNameTable. This allows users to compare attribute and element names as objects rather than strings.

Although the XmlDocument objects share the same implementation, to move nodes from one document to another you must use the XmlDocument.ImportNode(XmlNode, bool) method.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0