Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IScreen Interface / ReadLine Method / ReadLine(Int32,ReadOption,Boolean) Method
Time in seconds to wait for line-feed character. The range of valid values is 0 through 99.
Additional read options.
Returns true if line-feed character was received, otherwise false.


In This Topic
    ReadLine(Int32,ReadOption,Boolean) Method
    In This Topic
    Reads data from the host until a line-feed character is encountered.
    Syntax
    'Declaration
     
    
    Overloads Function ReadLine( _
       ByVal timeout As Integer, _
       ByVal option As ReadOption, _
       ByRef sawEndOfLine As Boolean _
    ) As String
    'Usage
     
    
    Dim instance As IScreen
    Dim timeout As Integer
    Dim option As ReadOption
    Dim sawEndOfLine As Boolean
    Dim value As String
     
    value = instance.ReadLine(timeout, option, sawEndOfLine)

    Parameters

    timeout
    Time in seconds to wait for line-feed character. The range of valid values is 0 through 99.
    option
    Additional read options.
    sawEndOfLine
    Returns true if line-feed character was received, otherwise false.

    Return Value

    Line of data read from the host (excluding CR/LF characters).
    See Also