Share via


ComboBoxAutomationPeer.WaitForInputIdle(Int32) Method

Definition

Causes the calling code to block for the specified time or until the associated process enters an idle state, whichever completes first.

public:
 virtual bool WaitForInputIdle(int milliseconds) = WaitForInputIdle;
bool WaitForInputIdle(int const& milliseconds);
public bool WaitForInputIdle(int milliseconds);
function waitForInputIdle(milliseconds)
Public Function WaitForInputIdle (milliseconds As Integer) As Boolean

Parameters

milliseconds
Int32

int

The amount of time, in milliseconds, to wait for the associated process to become idle. The maximum is Int32.MaxValue.

Returns

Boolean

bool

true if the window has entered the idle state; false if the time-out occurred.

Implements

M:Microsoft.UI.Xaml.Automation.Provider.IWindowProvider.WaitForInputIdle(System.Int32) M:Microsoft.UI.Xaml.Automation.Provider.IWindowProvider.WaitForInputIdle(int)

Applies to