InfoConnect for Unisys
Attachmate.Reflection.Emulation.OpenSystems Namespace / IScreen Interface / ReadUntil Method / ReadUntil(String,Int32,ReadOption,String) 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.
Additional read options.
The specific terminator character that terminated the read.


In This Topic
    ReadUntil(String,Int32,ReadOption,String) 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, _
       ByVal option As ReadOption, _
       ByRef whichEndChar As String _
    ) As String
    'Usage
     
    
    Dim instance As IScreen
    Dim terminatorChars As String
    Dim timeout As Integer
    Dim option As ReadOption
    Dim whichEndChar As String
    Dim value As String
     
    value = instance.ReadUntil(terminatorChars, timeout, option, whichEndChar)

    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.
    option
    Additional read options.
    whichEndChar
    The specific terminator character that terminated the read.
    See Also