Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IScreen Interface / ReadChars Method / ReadChars(Int32,Int32) 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


In This Topic
    ReadChars(Int32,Int32) 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 _
    ) As String
    'Usage
     
    
    Dim instance As IScreen
    Dim count As Integer
    Dim timeout As Integer
    Dim value As String
     
    value = instance.ReadChars(count, timeout)
    string ReadChars( 
       int count,
       int timeout
    )

    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

    Return Value

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