Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IScreen Interface / WaitForString Method / WaitForString(String,Int32,WaitForOption) Method
text to wait for.
wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
Wait options. Multiple options can be OR'ed together.


In This Topic
    WaitForString(String,Int32,WaitForOption) 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, _
       ByVal option As WaitForOption _
    ) As ReturnCode
    'Usage
     
    
    Dim instance As IScreen
    Dim text As String
    Dim timeout As Integer
    Dim option As WaitForOption
    Dim value As ReturnCode
     
    value = instance.WaitForString(text, timeout, option)

    Parameters

    text
    text to wait for.
    timeout
    wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
    option
    Wait options. Multiple options can be OR'ed together.

    Return Value

    ReturnCode indicating success/failure/status
    See Also