OleMenuCommand.MatchedCommandId 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置命令 ID。
public:
property int MatchedCommandId { int get(); void set(int value); };
public:
property int MatchedCommandId { int get(); void set(int value); };
public int MatchedCommandId { get; set; }
member this.MatchedCommandId : int with get, set
Public Property MatchedCommandId As Integer
属性值
最近用于匹配此命令的命令 ID。
注解
当发生匹配并且可用于标识要调用的实际命令时,必须由子类设置命令 id。