C#
Parameters
- source
- Stream.
- encoding
- Encoding.
Return Value
A System.String instance that is a string representation of the source stream in the encoding encoding.Overloaded method.
The extension method for the System.IO.MemoryStream class.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2