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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za