A Sandcastle Documented Class Library |
HtmlDocument..::..DetectEncodingHtml Method |
HtmlDocument Class See Also Send Feedback |
Detects the encoding of an HTML text.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public Encoding DetectEncodingHtml( string html ) |
Visual Basic |
---|
Public Function DetectEncodingHtml ( _ html As String _ ) As Encoding |
Visual C++ |
---|
public: Encoding^ DetectEncodingHtml( String^ html ) |
Parameters
- html
- Type: System..::..String
The input html text. May not be null.