Switches the current stream's encoding to the new encoding.
Switches the current stream's encoding to the new one, reading from the current position onward.
[Visual Basic] Overloads Overridable Public Sub SwitchEncoding(Encoding)
[C#] public virtual void SwitchEncoding(Encoding);
[C++] public: virtual void SwitchEncoding(Encoding*);
[JScript] public function SwitchEncoding(Encoding);
Switches the current stream's encoding to the new one, reading from the specified character position onward.
[Visual Basic] Overloads Overridable Public Sub SwitchEncoding(Encoding, Integer)
[C#] public virtual void SwitchEncoding(Encoding, int);
[C++] public: virtual void SwitchEncoding(Encoding*, int);
[JScript] public function SwitchEncoding(Encoding, int);
StreamReader Class | StreamReader Members | System.IO Namespace