ICustomKeyboardHandler.CaptureKeyboard Method
Notifies the handler that it may start capturing keyboard events.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'宣告
Function CaptureKeyboard As Boolean
bool CaptureKeyboard()
bool CaptureKeyboard()
abstract CaptureKeyboard : unit -> bool
function CaptureKeyboard() : boolean
Return Value
Type: System.Boolean
true if the handler can start capturing keyboard events, otherwise false.
.NET Framework Security
- 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.