DetectEncodingAndLoad Method (String)

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Detects the encoding of an HTML document from a file first, and then loads the file.

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

Syntax

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

Parameters

path
Type: System..::..String
The complete file path to be read.

See Also