LoadHtml Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Loads the HTML document from the specified string.

Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public void LoadHtml(
	string html
)
Visual Basic
Public Sub LoadHtml ( _
	html As String _
)
Visual C++
public:
void LoadHtml(
	String^ html
)

Parameters

html
Type: System..::..String
String containing the HTML document to load. May not be null.

See Also