Comment Class
https://dom.spec.whatwg.org/#interface-comment
public sealed class Comment : CharacterData- Inheritance
CharacterDataComment
Constructors
| Name | Description |
|---|---|
| Comment(string) | Creates a comment node with the given data. |
Comment(string)
CharacterData.csCreates a comment node with the given data.
public Comment(string data = "")Properties
| Name | Description |
|---|---|
| NodeName | Gets the name of the node, which is always #comment. |
| NodeType | Gets the type of the node, which is always COMMENT_NODE. |