A Sandcastle Documented Class Library |
HtmlDocument..::..DetectEncoding Method (TextReader) |
HtmlDocument Class See Also Send Feedback |
Detects the encoding of an HTML text provided on a TextReader.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public Encoding DetectEncoding( TextReader reader ) |
Visual Basic |
---|
Public Function DetectEncoding ( _ reader As TextReader _ ) As Encoding |
Visual C++ |
---|
public: Encoding^ DetectEncoding( TextReader^ reader ) |
Parameters
- reader
- Type: System.IO..::..TextReader
The TextReader used to feed the HTML. May not be null.