MenuItem::Execute method
The Execute method executes the context menu item command.
Syntax
MenuItem.Execute()
Parameters
This method has no parameters.
Return value
This method does not return a value.
Examples
' Execute the MenuItem.
objMenuItem.Execute
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
DLL |
|
IID |
IID_MenuItem is defined as 0178FAD1-B361-4B27-96AD-67C57EBF2E1D |