Class HtmlCommentNode
- Namespace
 - HtmlAgilityPack
 
- Assembly
 - HtmlAgilityPack.dll
 
Represents an HTML comment.
public class HtmlCommentNode : HtmlNode, IXPathNavigable
  - Inheritance
 - 
      
      
      HtmlCommentNode
 
- Implements
 - 
      IXPathNavigable
 
- Inherited Members
 
Properties
Comment
Gets or Sets the comment text of the node.
public string Comment { get; set; }
  Property Value
InnerHtml
Gets or Sets the HTML between the start and end tags of the object. In the case of a text node, it is equals to OuterHtml.
public override string InnerHtml { get; set; }
  Property Value
OuterHtml
Gets or Sets the object and its content in HTML.
public override string OuterHtml { get; }