HtmlCommentNode Properties
From Html Agility Pack
| A Sandcastle Documented Class Library |
| HtmlCommentNode Properties |
| HtmlCommentNode Class See Also Send Feedback |
The HtmlCommentNode type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Attributes |
Gets the collection of HTML attributes for this node. May not be null.
(Inherited from HtmlNode.) | |
| ChildNodes |
Gets all the children of the node.
(Inherited from HtmlNode.) | |
| Closed |
Gets a value indicating if this node has been closed or not.
(Inherited from HtmlNode.) | |
| ClosingAttributes |
Gets the collection of HTML attributes for the closing tag. May not be null.
(Inherited from HtmlNode.) | |
| Comment |
Gets or Sets the comment text of the node.
| |
| FirstChild |
Gets the first child of the node.
(Inherited from HtmlNode.) | |
| HasAttributes |
Gets a value indicating whether the current node has any attributes.
(Inherited from HtmlNode.) | |
| HasChildNodes |
Gets a value indicating whether this node has any child nodes.
(Inherited from HtmlNode.) | |
| HasClosingAttributes |
Gets a value indicating whether the current node has any attributes on the closing tag.
(Inherited from HtmlNode.) | |
| Id |
Gets or sets the value of the 'id' HTML attribute. The document must have been parsed using the OptionUseIdAttribute set to true.
(Inherited from HtmlNode.) | |
| 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.
(Overrides HtmlNode..::..InnerHtml.) | |
| InnerText |
Gets or Sets the text between the start and end tags of the object.
(Inherited from HtmlNode.) | |
| LastChild |
Gets the last child of the node.
(Inherited from HtmlNode.) | |
| Line |
Gets the line number of this node in the document.
(Inherited from HtmlNode.) | |
| LinePosition |
Gets the column number of this node in the document.
(Inherited from HtmlNode.) | |
| Name |
Gets or sets this node's name.
(Inherited from HtmlNode.) | |
| NextSibling |
Gets the HTML node immediately following this element.
(Inherited from HtmlNode.) | |
| NodeType |
Gets the type of this node.
(Inherited from HtmlNode.) | |
| OriginalName |
The original unaltered name of the tag
(Inherited from HtmlNode.) | |
| OuterHtml |
Gets or Sets the object and its content in HTML.
(Overrides HtmlNode..::..OuterHtml.) | |
| OwnerDocument |
Gets the HtmlDocument to which this node belongs.
(Inherited from HtmlNode.) | |
| ParentNode |
Gets the parent of this node (for nodes that can have parents).
(Inherited from HtmlNode.) | |
| PreviousSibling |
Gets the node immediately preceding this node.
(Inherited from HtmlNode.) | |
| StreamPosition |
Gets the stream position of this node in the document, relative to the start of the document.
(Inherited from HtmlNode.) | |
| XPath |
Gets a valid XPath string that points to this node
(Inherited from HtmlNode.) |