







|
| A Sandcastle Documented Class Library |
| HtmlDocument..::..DetectEncoding Method (String) |
| HtmlDocument Class See Also Send Feedback |
Detects the encoding of an HTML file.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
| C# |
|---|
public Encoding DetectEncoding( string path ) |
| Visual Basic |
|---|
Public Function DetectEncoding ( _ path As String _ ) As Encoding |
| Visual C++ |
|---|
public: Encoding^ DetectEncoding( String^ path ) |
Parameters
- path
- Type: System..::..String
Path for the file containing the HTML document to detect. May not be null.
