IOleMenuCommand::DynamicItemMatch Method (Int32)

 

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

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

bool DynamicItemMatch(
	int cmdId
)

Parameters

cmdId
Type: System::Int32

The command ID.

Return Value

Type: System::Boolean

true if there was a match, otherwise false.

This method must be overridden when implementing a menu via DYNAMICITEMSTART.

Return to top
Show: