Admin Production rocket
Current Publication

WaitForString(String) Method

Reflection Desktop .NET API Guide V18.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.
text to wait for.
WaitForString(String) Method
In This Topic
Waits for the specified text to be received from the host.
Syntax

                     
                     
'Declaration
 

                     
                     
Overloads Function WaitForString( _
   ByVal text As String _
) As ReturnCode

                  

                     
                     
'Usage
 

                     
                     
Dim instance As IScreen
Dim text As String
Dim value As ReturnCode
 
value = instance.WaitForString(text)

                  

                     
                     
ReturnCode WaitForString( 
   string text
)

                  

Parameters

text
text to wait for.

Return Value

ReturnCode indicating success/failure/status
See Also