Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IScreen Interface / ReadChars Method / ReadChars(Int32,Int32,ReadOption) Method
The number of characters to read. If 0 is specified an empty string is returned
Time in seconds to wait for the specified number of characters
Additional read options


In This Topic
    ReadChars(Int32,Int32,ReadOption) Method
    In This Topic
    Reads a specified number of characters from the host.
    Syntax
    'Declaration
     
    
    Overloads Function ReadChars( _
       ByVal count As Integer, _
       ByVal timeout As Integer, _
       ByVal option As ReadOption _
    ) As String
    'Usage
     
    
    Dim instance As IScreen
    Dim count As Integer
    Dim timeout As Integer
    Dim option As ReadOption
    Dim value As String
     
    value = instance.ReadChars(count, timeout, option)

    Parameters

    count
    The number of characters to read. If 0 is specified an empty string is returned
    timeout
    Time in seconds to wait for the specified number of characters
    option
    Additional read options

    Return Value

    a string containing the requested number of characters or all characters received prior to a timeout.
    See Also