ICommandHandler<T>.ExecuteCommand(T, CommandExecutionContext) Method

Definition

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.

Applies to