Admin Production rocket
Current Publication

WaitForStrings(String[],Int32) Method

Reflection Desktop .NET API Guide V17.0
Rocket® Reflection Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
Array specifying one or more strings for which to wait.
wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
WaitForStrings(String[],Int32) Method
In This Topic
Waits for one of the specified text strings to be received from the host.
Syntax

                     
                     
'Declaration
 

                     
                     
Overloads Function WaitForStrings( _
   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.WaitForStrings(text, timeout)

                  

                     
                     
ReturnCode WaitForStrings( 
   string[] text,
   int timeout
)

                  

Parameters

text
Array specifying one or more strings for which to wait.
timeout
wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.

Return Value

ReturnCode indicating success/failure/status
See Also