IronWebScraper - The C# Web Scraping Library
HtmlNode Methods |
The HtmlNode type exposes the following members.

Name | Description | |
---|---|---|
![]() | Css |
Uses CSS selectors to find all child nodes matching selector.
This works in the same way as $('.ClassName') in jQuery or querySelectorAll() in JavaScript.
|
![]() | CssExists |
Uses CSS selectors to find if there are any matching nodes within the Response Document.
This works in the same way as $('.ClassName').length > 0 in jQuery or querySelectorAll().length >0 in JavaScript.
|
![]() | Equals | (Inherited from Object.) |
![]() | GetAttribute | Gets a single attribute vale from the HtmlNode. Returns null if that attribute is not present. |
![]() | GetElementById |
Synonym of JavaScript's getElementById function. Searches inside the current HtmlNode.
|
![]() | GetElementsByTagName |
Synonym of JavaScript's getElementsByTagName function. Searches inside the current HtmlNode.
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | HasAtribute |
Tests if the HtmlNode has a given attribute such as "class" or "href"
|
![]() | QuerySelector |
Synonym of JavaScript's querySelector function. Searches inside the current HtmlNode.
|
![]() | QuerySelectorAll |
Synonym of JavaScript's querySelectorAll function. Searches inside the current HtmlNode.
|
![]() | ToString | (Inherited from Object.) |
![]() | XPath |
Queries the HtmlNode to return all descendant nodes matching an XPath expression.
|
