共用方式為


IIntellisenseCommandTarget.ExecuteKeyboardCommand Method

Executes a user-initiated keyboard command.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'宣告
Function ExecuteKeyboardCommand ( _
    command As IntellisenseKeyboardCommand _
) As Boolean
bool ExecuteKeyboardCommand(
    IntellisenseKeyboardCommand command
)
bool ExecuteKeyboardCommand(
    IntellisenseKeyboardCommand command
)
abstract ExecuteKeyboardCommand : 
        command:IntellisenseKeyboardCommand -> bool 
function ExecuteKeyboardCommand(
    command : IntellisenseKeyboardCommand
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the command was handled, false otherwise.

Remarks

Keyboard commands are normally handled by the underlying view, but IntelliSense presenters may intercede in the command-handling chain in order to handle certain keyboard commands.

.NET Framework Security

See Also

Reference

IIntellisenseCommandTarget Interface

Microsoft.VisualStudio.Language.Intellisense Namespace