共用方式為


DynamicStatusMenuCommand(EventHandler, EventHandler, CommandID) Constructor

Definition

Construct a new DynamicStatusMenuCommand

public:
 DynamicStatusMenuCommand(EventHandler ^ statusHandler, EventHandler ^ invokeHandler, System::ComponentModel::Design::CommandID ^ id);
public DynamicStatusMenuCommand (EventHandler statusHandler, EventHandler invokeHandler, System.ComponentModel.Design.CommandID id);
new Microsoft.VisualStudio.Modeling.Shell.DynamicStatusMenuCommand : EventHandler * EventHandler * System.ComponentModel.Design.CommandID -> Microsoft.VisualStudio.Modeling.Shell.DynamicStatusMenuCommand
Public Sub New (statusHandler As EventHandler, invokeHandler As EventHandler, id As CommandID)

Parameters

statusHandler
EventHandler

Event handler called when command status needs to be updated.

invokeHandler
EventHandler

Event handler called when command is invoked.

id
CommandID

Command ID

Applies to