Click or drag to resize

HtmlNode Properties

The HtmlNode type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets the collection of HTML attributes for this node. May not be null.
Public propertyChildNodes
Gets all the children of the node.
Public propertyClosed
Gets a value indicating if this node has been closed or not.
Public propertyClosingAttributes
Gets the collection of HTML attributes for the closing tag. May not be null.
Public propertyFirstChild
Gets the first child of the node.
Public propertyHasAttributes
Gets a value indicating whether the current node has any attributes.
Public propertyHasChildNodes
Gets a value indicating whether this node has any child nodes.
Public propertyHasClosingAttributes
Gets a value indicating whether the current node has any attributes on the closing tag.
Public propertyId
Gets or sets the value of the 'id' HTML attribute. The document must have been parsed using the OptionUseIdAttribute set to true.
Public propertyInnerHtml
Gets or Sets the HTML between the start and end tags of the object.
Public propertyInnerText
Gets or Sets the text between the start and end tags of the object.
Public propertyLastChild
Gets the last child of the node.
Public propertyLine
Gets the line number of this node in the document.
Public propertyLinePosition
Gets the column number of this node in the document.
Public propertyName
Gets or sets this node's name.
Public propertyNextSibling
Gets the HTML node immediately following this element.
Public propertyNodeType
Gets the type of this node.
Public propertyOriginalName
The original unaltered name of the tag
Public propertyOuterHtml
Gets or Sets the object and its content in HTML.
Public propertyOwnerDocument
Gets the HtmlDocument to which this node belongs.
Public propertyParentNode
Gets the parent of this node (for nodes that can have parents).
Public propertyPreviousSibling
Gets the node immediately preceding this node.
Public propertyStreamPosition
Gets the stream position of this node in the document, relative to the start of the document.
Public propertyXPath
Gets a valid XPath string that points to this node
Top
See Also