IOleMenuCommand.DynamicItemMatch(Int32) 方法

定义

允许动态项命令与列表中的后续项匹配。

public:
 bool DynamicItemMatch(int cmdId);
public:
 bool DynamicItemMatch(int cmdId);
bool DynamicItemMatch(int cmdId);
public bool DynamicItemMatch (int cmdId);
abstract member DynamicItemMatch : int -> bool
Public Function DynamicItemMatch (cmdId As Integer) As Boolean

参数

cmdId
Int32

命令 ID。

返回

Boolean

true 如果存在匹配项,则为; 否则为 false

注解

通过 DYNAMICITEMSTART 实现菜单时,必须重写此方法。

适用于