System.Xml.XmlDeclaration Class
An XML declaration node in the document.

See Also: XmlDeclaration Members

Syntax

public class XmlDeclaration : XmlLinkedNode

Remarks

This node represents the (optional) XML declaration at the start of a document. XML declarations look like:

XML Example

<?xml version="1.0" encoding="UTF-8" ?>

Requirements

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