Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IScreen Interface / WaitForString Method / WaitForString(String,Int32) Method
text to wait for.
wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.


In This Topic
    WaitForString(String,Int32) Method
    In This Topic
    Waits for the specified text to be received from the host.
    Syntax
    'Declaration
     
    
    Overloads Function WaitForString( _
       ByVal text As String, _
       ByVal timeout As Integer _
    ) As ReturnCode
    'Usage
     
    
    Dim instance As IScreen
    Dim text As String
    Dim timeout As Integer
    Dim value As ReturnCode
     
    value = instance.WaitForString(text, timeout)
    ReturnCode WaitForString( 
       string text,
       int timeout
    )

    Parameters

    text
    text to wait for.
    timeout
    wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.

    Return Value

    ReturnCode indicating success/failure/status
    See Also