ComboBoxAutomationPeer.WaitForInputIdle(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
導致將呼叫程式碼封鎖指定的時間,或直到相關聯的處理序進入閒置狀態 (就看何者先完成)。
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
參數
- milliseconds
-
Int32
int
等候相關聯處理序變成閒置的時間量 (以毫秒為單位)。 最大值為 Int32.MaxValue。
傳回
Boolean
bool
如果視窗已進入閑置狀態,則為 true;如果發生逾時,則為 false。
實作
M:Microsoft.UI.Xaml.Automation.Provider.IWindowProvider.WaitForInputIdle(System.Int32)
M:Microsoft.UI.Xaml.Automation.Provider.IWindowProvider.WaitForInputIdle(int)