HtmlTextNode Methods
From Html Agility Pack
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.) |