Click or drag to resize

HtmlDocumentLoad Method (String, Encoding, Boolean, Int32)

Loads an HTML document from a file.

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.1.0.0 (9.1.0.20241025)
Syntax
public void Load(
	string path,
	Encoding encoding,
	bool detectEncodingFromByteOrderMarks,
	int buffersize
)

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.
buffersize
Type: SystemInt32
The minimum buffer size.
See Also