Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IScreen Interface / ReadUntil Method / 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.


In This Topic
    ReadUntil(String,Int32) Method
    In This Topic
    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)

    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.
    See Also