IMenuCommandService::RemoveCommand Method (MenuCommand^)
.NET Framework (current version)
Removes the specified standard menu command from the menu.
Assembly: System (in System.dll)
Parameters
- command
-
Type:
System.ComponentModel.Design::MenuCommand^
The MenuCommand to remove.
This method removes the specified MenuCommand if it is found. This method does not raise an exception or return a value if the specified MenuCommand is not found. Use the FindCommand method to determine whether a MenuCommand matching a specified CommandID is located on a menu.
.NET Framework
Available since 1.1
Available since 1.1
Show: