expression.WaitUntil2( _ ByVal time As Date, _ ByVal option As WaitForOption _ ) As ReturnCode
where expression is a variable that represents a Screen Object
Parameters
- time
- The time to wait until.
- option
- A WaitForOption value. Valid options for this method are AllowKeystrokes, NoDisplay, and None.
Return Value
One of the following ReturnCode enumeration values.
Member | Description |
---|---|
Cancelled | Cancelled. |
Error | Error. |
PermissionRequired | Permission is required. |
Success | Success. |
Timeout | Timeout condition. |
Truncated | The text is truncated. |