Attachmate Reflection 2014 .NET API Reference
WaitForText(Int32,String,Int32,Int32,TextComparisonOption) Method


Wait timeout value (milliseconds).
Text string.
Row position.
Column position.
TextComparisonOption indicates the desired text string comparison.
Waits for the specified text to appear at the specified screen location.
Syntax
'Declaration
 
Overloads Function WaitForText( _
   ByVal timeout As Integer, _
   ByVal text As String, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal options As TextComparisonOption _
) As ReturnCode
'Usage
 
Dim instance As IIbmScreen
Dim timeout As Integer
Dim text As String
Dim row As Integer
Dim column As Integer
Dim options As TextComparisonOption
Dim value As ReturnCode
 
value = instance.WaitForText(timeout, text, row, column, options)
ReturnCode WaitForText( 
   int timeout,
   string text,
   int row,
   int column,
   TextComparisonOption options
)

Parameters

timeout
Wait timeout value (milliseconds).
text
Text string.
row
Row position.
column
Column position.
options
TextComparisonOption indicates the desired text string comparison.

Return Value

ReturnCode indicates sucess, failure, or a warning condition.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException This exception is thrown if the row or column parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

IIbmScreen Interface
IIbmScreen Members
Overload List

Send Feedback