ICommandHandler<T>.ExecuteCommand(T, CommandExecutionContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called to execute the command.
public:
bool ExecuteCommand(T args, Microsoft::VisualStudio::Commanding::CommandExecutionContext ^ executionContext);
public bool ExecuteCommand (T args, Microsoft.VisualStudio.Commanding.CommandExecutionContext executionContext);
abstract member ExecuteCommand : 'T * Microsoft.VisualStudio.Commanding.CommandExecutionContext -> bool
Public Function ExecuteCommand (args As T, executionContext As CommandExecutionContext) As Boolean
Parameters
- args
- T
The CommandArgs arguments for the command.
- executionContext
- CommandExecutionContext
Execution context associated with this operation.
Returns
Returns true
if the command was handled, false
otherwise.