Compartir a través de


OleMenuCommand.DynamicItemMatch(Int32) Method

Definition

Allows a dynamic item command to match the subsequent items in its list.

public:
 virtual bool DynamicItemMatch(int cmdId);
public:
 virtual bool DynamicItemMatch(int cmdId);
 virtual bool DynamicItemMatch(int cmdId);
public virtual bool DynamicItemMatch (int cmdId);
abstract member DynamicItemMatch : int -> bool
override this.DynamicItemMatch : int -> bool
Public Overridable Function DynamicItemMatch (cmdId As Integer) As Boolean

Parameters

cmdId
Int32

Returns

Implements

Remarks

This method must be overridden when implementing a menu. For more information, see Dynamically Adding Menu Items.

Applies to