Name

XmlDeclaration

Synopsis

This class contains the XML declaration of a document, which is the first element of an XML document containing the XML version number, encoding, and other optional information about the file.

Public Class XmlDeclaration : Inherits XmlLinkedNode
' Protected Constructors
   Protected Friend Sub New(ByVal version As String, 
        ByVal encoding As String, 
        ByVal standalone As String, 
        ByVal doc As XmlDocument) 
' Public Instance Properties
   Public Property Encoding As String  
   Overrides Public Property InnerText As String  
   Overrides Public ReadOnly Property LocalName As String  
   Overrides Public ReadOnly Property Name As String  
   Overrides Public ReadOnly Property NodeType As XmlNodeType  
   Public Property Standalone As String  
   Overrides Public Property Value As String  
   Public ReadOnly Property Version As String  
' Public Instance Methods
   Overrides Public Function CloneNode(
        ByVal deep As Boolean) As XmlNode  
   Overrides Public Sub WriteContentTo( ByVal w As XmlWriter) 
   Overrides Public Sub WriteTo( ByVal w As XmlWriter) 
End Class

Hierarchy

System.Object XmlNode(System.ICloneable, System.Collections.IEnumerable, System.Xml.XPath.IXPathNavigable)XmlLinkedNode XmlDeclaration

Returned By

XmlDocument.CreateXmlDeclaration()

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.