共用方式為


MenuCommand.CommandID 屬性

定義

取得與這個功能表命令相關的 CommandID

public:
 virtual property System::ComponentModel::Design::CommandID ^ CommandID { System::ComponentModel::Design::CommandID ^ get(); };
public virtual System.ComponentModel.Design.CommandID CommandID { get; }
public virtual System.ComponentModel.Design.CommandID? CommandID { get; }
member this.CommandID : System.ComponentModel.Design.CommandID
Public Overridable ReadOnly Property CommandID As CommandID

屬性值

與功能表命令相關的 CommandID

適用於

另請參閱