![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 |
HtmlWeb..::..Load Method (String, String) |
HtmlWeb Class See Also Send Feedback |
Loads an HTML document from an Internet resource.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public HtmlDocument Load( string url, string method ) |
Visual Basic |
---|
Public Function Load ( _ url As String, _ method As String _ ) As HtmlDocument |
Visual C++ |
---|
public: HtmlDocument^ Load( String^ url, String^ method ) |
Parameters
- url
- Type: System..::..String
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
- method
- Type: System..::..String
The HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND.