Name

XmlComment

Synopsis

This class represents an XmlComment node. An XML comment is contained within <!-- and --> markup symbols and is not represented in the resulting XML Infoset tree.

Public Class XmlComment : Inherits XmlCharacterData
' Protected Constructors
   Protected Friend Sub New(ByVal comment As String, 
        ByVal doc As XmlDocument) 
' Public Instance Properties
   Overrides Public ReadOnly Property LocalName As String  
   Overrides Public ReadOnly Property Name As String  
   Overrides Public ReadOnly Property NodeType As XmlNodeType  
' 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)XmlLinkedNodeXmlCharacterData XmlComment

Returned By

XmlDocument.CreateComment()

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.