The document's character encoding.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual Encoding Encoding { get; set; }
Public Overridable Property Encoding As Encoding
public: virtual property Encoding^ Encoding { Encoding^ get (); void set (Encoding^ value); }
Remarks
Only has a valid value if set externally or if ReadText or ReadLinks has been called.