Share via


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

'Declaration
Function CaptureKeyboard As Boolean
bool CaptureKeyboard()
bool CaptureKeyboard()
abstract CaptureKeyboard : unit -> bool
function CaptureKeyboard() : boolean

Return Value

Type: Boolean
true if the handler can start capturing keyboard events, otherwise false.

.NET Framework Security

See Also

Reference

ICustomKeyboardHandler Interface

Microsoft.VisualStudio.Language.Intellisense Namespace