Try Microsoft Edge A fast and secure browser that's designed for Windows 10 No thanks Get started
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, returns the Encoding in which the output is written.
'Declaration Public MustOverride ReadOnly Property 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.
Windows Phone