HtmlNodeNavigator Constructor (String, Encoding, Boolean) |
Initializes a new instance of the HtmlNavigator and 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 HtmlNodeNavigator(
string path,
Encoding encoding,
bool detectEncodingFromByteOrderMarks
)
Public Sub New (
path As String,
encoding As Encoding,
detectEncodingFromByteOrderMarks As Boolean
)
Parameters
- path
- Type: SystemString
The complete file path to be read. - encoding
- Type: System.TextEncoding
The character encoding to use. - detectEncodingFromByteOrderMarks
- Type: SystemBoolean
Indicates whether to look for byte order marks at the beginning of the file.
See Also