Initializes a new instance of the HtmlNavigator and loads an HTML document from a file.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public HtmlNodeNavigator(
string path,
bool detectEncodingFromByteOrderMarks
) |
Visual Basic |
---|
Public Sub New ( _
path As String, _
detectEncodingFromByteOrderMarks As Boolean _
) |
Visual C++ |
---|
public:
HtmlNodeNavigator(
String^ path,
bool detectEncodingFromByteOrderMarks
) |
Parameters
- path
- Type: System..::..String
The complete file path to be read.
- detectEncodingFromByteOrderMarks
- Type: System..::..Boolean
Indicates whether to look for byte order marks at the beginning of the file.
See Also