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
- command
Type: Microsoft.VisualStudio.Language.Intellisense.IntellisenseKeyboardCommand
The IntellisenseKeyboardCommand to execute.
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
- 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.