CommandSetFactory.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 virtual System.Threading.Tasks.Task InitializeCommandsAsync (Microsoft.VisualStudio.Extensibility.Commands.CommandSet commandSet);
abstract member InitializeCommandsAsync : Microsoft.VisualStudio.Extensibility.Commands.CommandSet -> System.Threading.Tasks.Task
override this.InitializeCommandsAsync : Microsoft.VisualStudio.Extensibility.Commands.CommandSet -> System.Threading.Tasks.Task
Public Overridable Function InitializeCommandsAsync (commandSet As CommandSet) As Task

Parameters

commandSet
CommandSet

Command set instance that is being initialized.

Returns

a Task indicating completion.

Implements

Applies to