Attachmate Reflection 2014 .NET API Reference
ReadUntil(String,Int32) Method


Specifies one or more terminator characters. Any one of these characters can terminate the read operation.
Time in seconds to wait for terminator character. The range of valid values is 0 through 99.
Read data from the host until one of the specified terminator characters is received. The terminator character is not included in the returned string.
Syntax
'Declaration
 
Overloads Function ReadUntil( _
   ByVal terminatorChars As String, _
   ByVal timeout As Integer _
) As String
'Usage
 
Dim instance As IScreen
Dim terminatorChars As String
Dim timeout As Integer
Dim value As String
 
value = instance.ReadUntil(terminatorChars, timeout)
string ReadUntil( 
   string terminatorChars,
   int timeout
)

Parameters

terminatorChars
Specifies one or more terminator characters. Any one of these characters can terminate the read operation.
timeout
Time in seconds to wait for terminator character. The range of valid values is 0 through 99.

Return Value

The string of data which was read from the host.
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

IScreen Interface
IScreen Members
Overload List

Send Feedback