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