Cuemon .NET Framework
FromStream(Stream,PreambleSequence,Encoding,Boolean) Method

The System.IO.Stream to be converted.
Determines whether too keep or remove any preamble sequences.
The preferred encoding to apply to the result.
if true, the System.IO.Stream object is being left open; otherwise it is being closed and disposed.
Converts the specified value to a string using the provided preferred encoding.
Syntax
'Declaration
 
Public Overloads Shared Function FromStream( _
   ByVal value As Stream, _
   ByVal sequence As PreambleSequence, _
   ByVal encoding As Encoding, _
   ByVal leaveStreamOpen As Boolean _
) As String

Parameters

value
The System.IO.Stream to be converted.
sequence
Determines whether too keep or remove any preamble sequences.
encoding
The preferred encoding to apply to the result.
leaveStreamOpen
if true, the System.IO.Stream object is being left open; otherwise it is being closed and disposed.

Return Value

A System.String containing the decoded result of the specified value.
Requirements

Target Platforms: Windows 8, Windows Server 2012, 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

See Also

Reference

StringConverter Class
StringConverter Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback