TextWriter: Encoding (get) |
When implemented in a derived class, returns the Encoding in which the output is written.
Public Property Get Encoding ( ) As Encoding
This property is necessary for some XML scenarios where a header must be written containing the encoding used by the TextWriter. This allows the XML code to consume an arbitrary TextWriter and generate the correct XML header.
Read Only.