OleMenuCommand.DynamicItemMatch(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.