共用方式為


ICommandSet.CommandAdded Event

Definition

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

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

Event Type

Applies to