语言

ScriptAndResultsEditorControl.UpdateMenuCommandsStatus(MenuCommand) 方法

定义

由基类调用以更新命令状态。

protected:
 override bool UpdateMenuCommandsStatus(System::ComponentModel::Design::MenuCommand ^ cmd);
protected override bool UpdateMenuCommandsStatus(System.ComponentModel.Design.MenuCommand cmd);
override this.UpdateMenuCommandsStatus : System.ComponentModel.Design.MenuCommand -> bool
Protected Overrides Function UpdateMenuCommandsStatus (cmd As MenuCommand) As Boolean

参数

cmd
MenuCommand

MenuCommand 对象。

返回

如果命令状态已更新,False则使用布尔值True,若命令未被识别。

适用于