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.1.0.0 (9.1.0.20241025)
Syntax public void Load(
string path,
Encoding encoding,
bool detectEncodingFromByteOrderMarks
)
Public Sub Load (
path As String,
encoding As Encoding,
detectEncodingFromByteOrderMarks As Boolean
)
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