IMenuCommandService.RemoveCommand(MenuCommand) 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.
Removes the specified standard menu command from the menu.
public:
void RemoveCommand(System::ComponentModel::Design::MenuCommand ^ command);
public void RemoveCommand (System.ComponentModel.Design.MenuCommand command);
abstract member RemoveCommand : System.ComponentModel.Design.MenuCommand -> unit
Public Sub RemoveCommand (command As MenuCommand)
Parameters
- command
- MenuCommand
The MenuCommand to remove.
Remarks
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.
Applies to
See also
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.