HtmlDocumentDetectEncodingAndLoad Method (String, Boolean) |
Detects the encoding of an HTML document from a file first, and then loads the file.
Namespace:
WorkflowGen.My.HtmlAgilityPack
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.0.3.0 (9.0.3.20240719)
Syntax public void DetectEncodingAndLoad(
string path,
bool detectEncoding
)
Public Sub DetectEncodingAndLoad (
path As String,
detectEncoding As Boolean
)
Parameters
- path
- Type: SystemString
The complete file path to be read. May not be null. - detectEncoding
- Type: SystemBoolean
true to detect encoding, false otherwise.
See Also