Share via


ICommandSetFactory.InitializeCommandsAsync(CommandSet) Method

Definition

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.

Applies to