UITestControl.WaitForControlEnabled Method (Int32)
Visual Studio 2010
Blocks the current thread until this control is enabled, or until the specified time-out expires.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Parameters
- millisecondsTimeout
- Type: System.Int32
The number of milliseconds before time-out.
Return Value
Type: System.Booleantrue if this control is enabled before the time-out; otherwise, false.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.