![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() ![]() |
A Sandcastle Documented Class Library |
HtmlNode..::..SelectSingleNode Method |
HtmlNode Class See Also Send Feedback |
Selects the first XmlNode that matches the XPath expression.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public HtmlNode SelectSingleNode( string xpath ) |
Visual Basic |
---|
Public Function SelectSingleNode ( _ xpath As String _ ) As HtmlNode |
Visual C++ |
---|
public: HtmlNode^ SelectSingleNode( String^ xpath ) |
Parameters
- xpath
- Type: System..::..String
The XPath expression. May not be null.