CommandSet.RegisterCommand(ICommand) 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.
Register an existing command implementation. This is only for commands that are also registered in extension.json.
public void RegisterCommand (Microsoft.VisualStudio.Extensibility.Commands.ICommand command);
member this.RegisterCommand : Microsoft.VisualStudio.Extensibility.Commands.ICommand -> unit
Public Sub RegisterCommand (command As ICommand)
Parameters
- command
- ICommand
Command instance to register.