Load Method (String)

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Gets 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
)
Visual Basic
Public Function Load ( _
	url As String _
) As HtmlDocument
Visual C++
public:
HtmlDocument^ Load(
	String^ url
)

Parameters

url
Type: System..::..String
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".

Return Value

A new HTML document.

See Also