IOleMenuCommand.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:
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
Parameters
- cmdId
- Int32
The command ID.
Returns
true
if there was a match, otherwise false
.
Remarks
This method must be overridden when implementing a menu via DYNAMICITEMSTART.