Convert content of a StreamWriter into string

Namespace:  Hyleos.Common.IO
Assembly:  Hyleos.Common (in Hyleos.Common.dll) Version: 1.0.3.2 (1.0.3.2)

Syntax

C#
public static void StreamWriterToString(
	StreamWriter writer,
	out string str
)
Visual Basic (Declaration)
Public Shared Sub StreamWriterToString ( _
	writer As StreamWriter, _
	<OutAttribute> ByRef str As String _
)
Visual C++
public:
static void StreamWriterToString(
	StreamWriter^ writer, 
	[OutAttribute] String^% str
)

Parameters

writer
Type: System.IO..::.StreamWriter
Stream Writer
str
Type: System..::.String %
Output string

See Also