共用方式為


CommandSet.CommandAdded Event

Definition

Event to be triggered when a new command is added to the command set.

public event EventHandler<Microsoft.VisualStudio.Extensibility.Commands.CommandAddedEventArgs>? CommandAdded;
member this.CommandAdded : EventHandler<Microsoft.VisualStudio.Extensibility.Commands.CommandAddedEventArgs> 
Public Event CommandAdded As EventHandler(Of CommandAddedEventArgs) 

Event Type

Implements

Applies to