次の方法で共有


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

See Also

Reference

ICustomKeyboardHandler Interface

Microsoft.VisualStudio.Language.Intellisense Namespace