Click or drag to resize

HtmlDocumentLoad Method (String, Encoding, Boolean)

Loads an HTML document from a file.

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.0.3.0 (9.0.3.20240719)
Syntax
public void Load(
	string path,
	Encoding encoding,
	bool detectEncodingFromByteOrderMarks
)

Parameters

path
Type: SystemString
The complete file path to be read. May not be null.
encoding
Type: System.TextEncoding
The character encoding to use. May not be null.
detectEncodingFromByteOrderMarks
Type: SystemBoolean
Indicates whether to look for byte order marks at the beginning of the file.
See Also