Load Method (String, Encoding)

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Loads a mixed code document from a file.

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

Syntax

C#
public void Load(
	string path,
	Encoding encoding
)
Visual Basic
Public Sub Load ( _
	path As String, _
	encoding As Encoding _
)
Visual C++
public:
void Load(
	String^ path, 
	Encoding^ encoding
)

Parameters

path
Type: System..::..String
The complete file path to be read.
encoding
Type: System.Text..::..Encoding
The character encoding to use.

See Also