HtmlTextNode Members
From Html Agility Pack
| A Sandcastle Documented Class Library |
| HtmlTextNode Members |
| HtmlTextNode Class Methods Properties See Also Send Feedback |
The HtmlTextNode type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Ancestors()()()() |
Returns a collection of all ancestor nodes of this element.
(Inherited from HtmlNode.) | |
| Ancestors(String) |
Get Ancestors with matching name
(Inherited from HtmlNode.) | |
| AncestorsAndSelf()()()() |
Returns a collection of all ancestor nodes of this element.
(Inherited from HtmlNode.) | |
| AncestorsAndSelf(String) |
Gets all anscestor nodes and the current node
(Inherited from HtmlNode.) | |
| AppendChild |
Adds the specified node to the end of the list of children of this node.
(Inherited from HtmlNode.) | |
| AppendChildren |
Adds the specified node to the end of the list of children of this node.
(Inherited from HtmlNode.) | |
| ChildAttributes |
Gets all Attributes with name
(Inherited from HtmlNode.) | |
| Clone |
Creates a duplicate of the node
(Inherited from HtmlNode.) | |
| CloneNode(Boolean) |
Creates a duplicate of the node.
(Inherited from HtmlNode.) | |
| CloneNode(String) |
Creates a duplicate of the node and changes its name at the same time.
(Inherited from HtmlNode.) | |
| CloneNode(String, Boolean) |
Creates a duplicate of the node and changes its name at the same time.
(Inherited from HtmlNode.) | |
| CopyFrom(HtmlNode) |
Creates a duplicate of the node and the subtree under it.
(Inherited from HtmlNode.) | |
| CopyFrom(HtmlNode, Boolean) |
Creates a duplicate of the node.
(Inherited from HtmlNode.) | |
| CreateNavigator |
Creates a new XPathNavigator object for navigating this HTML node.
(Inherited from HtmlNode.) | |
| CreateRootNavigator |
Creates an XPathNavigator using the root of this document.
(Inherited from HtmlNode.) | |
| DescendantNodes |
Gets all Descendant nodes for this node and each of child nodes
(Inherited from HtmlNode.) | |
| DescendantNodesAndSelf |
Returns a collection of all descendant nodes of this element, in document order
(Inherited from HtmlNode.) | |
| Descendants()()()() |
Gets all Descendant nodes in enumerated list
(Inherited from HtmlNode.) | |
| Descendants(String) |
Get all descendant nodes with matching name
(Inherited from HtmlNode.) | |
| DescendantsAndSelf()()()() |
Returns a collection of all descendant nodes of this element, in document order
(Inherited from HtmlNode.) | |
| DescendantsAndSelf(String) |
Gets all descendant nodes including this node
(Inherited from HtmlNode.) | |
| Element |
Gets first generation child node matching name
(Inherited from HtmlNode.) | |
| Elements |
Gets matching first generation child nodes matching name
(Inherited from HtmlNode.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAttributeValue(String, Boolean) |
Helper method to get the value of an attribute of this node. If the attribute is not found, the default value will be returned.
(Inherited from HtmlNode.) | |
| GetAttributeValue(String, Int32) |
Helper method to get the value of an attribute of this node. If the attribute is not found, the default value will be returned.
(Inherited from HtmlNode.) | |
| GetAttributeValue(String, String) |
Helper method to get the value of an attribute of this node. If the attribute is not found, the default value will be returned.
(Inherited from HtmlNode.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InsertAfter |
Inserts the specified node immediately after the specified reference node.
(Inherited from HtmlNode.) | |
| InsertBefore |
Inserts the specified node immediately before the specified reference node.
(Inherited from HtmlNode.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PrependChild |
Adds the specified node to the beginning of the list of children of this node.
(Inherited from HtmlNode.) | |
| PrependChildren |
Adds the specified node list to the beginning of the list of children of this node.
(Inherited from HtmlNode.) | |
| Remove |
Removes node from parent collection
(Inherited from HtmlNode.) | |
| RemoveAll |
Removes all the children and/or attributes of the current node.
(Inherited from HtmlNode.) | |
| RemoveAllChildren |
Removes all the children of the current node.
(Inherited from HtmlNode.) | |
| RemoveChild(HtmlNode) |
Removes the specified child node.
(Inherited from HtmlNode.) | |
| RemoveChild(HtmlNode, Boolean) |
Removes the specified child node.
(Inherited from HtmlNode.) | |
| ReplaceChild |
Replaces the child node oldChild with newChild node.
(Inherited from HtmlNode.) | |
| SelectNodes |
Selects a list of nodes matching the XPath expression.
(Inherited from HtmlNode.) | |
| SelectSingleNode |
Selects the first XmlNode that matches the XPath expression.
(Inherited from HtmlNode.) | |
| SetAttributeValue |
Helper method to set the value of an attribute of this node. If the attribute is not found, it will be created automatically.
(Inherited from HtmlNode.) | |
| ToString | (Inherited from Object.) | |
| WriteContentTo()()()() |
Saves all the children of the node to a string.
(Inherited from HtmlNode.) | |
| WriteContentTo(TextWriter) |
Saves all the children of the node to the specified TextWriter.
(Inherited from HtmlNode.) | |
| WriteTo()()()() |
Saves the current node to a string.
(Inherited from HtmlNode.) | |
| WriteTo(TextWriter) |
Saves the current node to the specified TextWriter.
(Inherited from HtmlNode.) | |
| WriteTo(XmlWriter) |
Saves the current node to the specified XmlWriter.
(Inherited from HtmlNode.) |
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.) | |
| 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.) | |
| Text |
Gets or Sets the text of the node.
| |
| XPath |
Gets a valid XPath string that points to this node
(Inherited from HtmlNode.) |