共用方式為


OleMenuCommandService.OnCommandsChanged(MenuCommandsChangedEventArgs) Method

Definition

Called by a menu command when its status has changed.

protected:
 override void OnCommandsChanged(System::ComponentModel::Design::MenuCommandsChangedEventArgs ^ e);
protected override void OnCommandsChanged (System.ComponentModel.Design.MenuCommandsChangedEventArgs e);
abstract member OnCommandsChanged : System.ComponentModel.Design.MenuCommandsChangedEventArgs -> unit
override this.OnCommandsChanged : System.ComponentModel.Design.MenuCommandsChangedEventArgs -> unit
Protected Overrides Sub OnCommandsChanged (e As MenuCommandsChangedEventArgs)

Parameters

e
MenuCommandsChangedEventArgs

Signifies that there has been a change in MenuCommands (added or removed) on the related object.

Applies to