Xceed .NET Libraries Documentation
TryRead Method (SSHString)


Xceed.SSH.Core Assembly > Xceed.SSH.Core Namespace > SSHString Structure : TryRead Method
Syntax
'Declaration
 
Public Shared Function TryRead( _

   ByVal stream As Stream, _

   ByVal encoding As Encoding, _

   ByRef value As String, _

   ByRef count As Integer _

) As Boolean
'Usage
 
Dim stream As Stream

Dim encoding As Encoding

Dim value As String

Dim count As Integer

Dim value As Boolean

 

value = SSHString.TryRead(stream, encoding, value, count)
public static bool TryRead( 

   Stream stream,

   Encoding encoding,

   out string value,

   ref int count

)

Parameters

stream
encoding
value
count
Requirements

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

See Also

Reference

SSHString Structure
SSHString Members