A Sandcastle Documented Class Library |
HtmlWeb..::..Get Method (String, String) |
HtmlWeb Class See Also Send Feedback |
Gets an HTML document from an Internet resource and saves it to the specified file.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public void Get( string url, string path ) |
Visual Basic |
---|
Public Sub Get ( _ url As String, _ path As String _ ) |
Visual C++ |
---|
public: void Get( String^ url, String^ path ) |
Parameters
- url
- Type: System..::..String
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
- path
- Type: System..::..String
The location of the file where you want to save the document.