ICommandSetFactory.InitializeCommandsAsync(CommandSet) 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 when command set is about to be initialized. This can be used to add commands, set up initial state.
public System.Threading.Tasks.Task InitializeCommandsAsync (Microsoft.VisualStudio.Extensibility.Commands.CommandSet commandSet);
abstract member InitializeCommandsAsync : Microsoft.VisualStudio.Extensibility.Commands.CommandSet -> System.Threading.Tasks.Task
Public Function InitializeCommandsAsync (commandSet As CommandSet) As Task
Parameters
- commandSet
- CommandSet
Command set instance that is being initialized.
Returns
a Task indicating completion.