- command
- The System.ComponentModel.Design.MenuCommand to remove.
This method removes the specified System.ComponentModel.Design.MenuCommand if it is found. This method does not raise an exception or return a value if the specified System.ComponentModel.Design.MenuCommand is not found. Use the IMenuCommandService.FindCommand(CommandID) method to determine whether a System.ComponentModel.Design.MenuCommand matching a specified System.ComponentModel.Design.CommandID is located on a menu.