ICustomKeyboardHandler.CaptureKeyboard 方法

定義

通知處理常式,它可以開始捕獲鍵盤事件。Signals the handler that it's ok to begin capturing keyboard events.

public:
 bool CaptureKeyboard();
public:
 bool CaptureKeyboard();
bool CaptureKeyboard();
public bool CaptureKeyboard ();
abstract member CaptureKeyboard : unit -> bool
Public Function CaptureKeyboard () As Boolean

傳回

Boolean

如果處理常式可以開始捕獲鍵盤事件,則為 true,否則為 false。true if the handler can start capturing keyboard events, otherwise false.

適用於