Initializes a new instance of the XmlComment class.
The content of the comment.
Gets the content of the comment.
The content of the comment.
Sets the content of the comment.
The content of the comment.
The content of the comment.
Gets the parent of this node.
The parent of this node.
Throws an exception since XmlComment nodes cannot have any children.
Throws an exception since XmlComment nodes cannot have any children.
Gets the node that follows this one, or undefined if no such node exists or if this node has no parent.
The node that follows this one, or undefined if no such node exists or if this node has no parent.
Gets the node that is previous to this one, or undefined if no such node exists or if this node has no parent.
The node that is previous to this one, or undefined if no such node exists or if this node has no parent.
Removes this node from its parent if this node has a parent.
This node's parent, or undefined if it has no parent.
Throws an exception since XmlComment nodes cannot have any children.
Throws an exception since XmlComment nodes cannot have any children.
Returns an XML string representation of this node.
An XML string representation of this node.
Returns the root node of the current hierarchy. If this node has no parent, this node itself is returned.
The root node of the current hierarchy.
Gets the parent of this node.
The parent of this node.
Generated using TypeDoc
Represents an XML comment.
An XML character reference is structured as follows, where
{content}
is the text of the comment.<!--{content}-->
The
{content}
value is a property of this node.XmlComment nodes cannot have any children.