IMenuCommandService.GlobalInvoke(CommandID) 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.
Invokes a menu or designer verb command matching the specified command ID.
public:
bool GlobalInvoke(System::ComponentModel::Design::CommandID ^ commandID);
public bool GlobalInvoke (System.ComponentModel.Design.CommandID commandID);
abstract member GlobalInvoke : System.ComponentModel.Design.CommandID -> bool
Public Function GlobalInvoke (commandID As CommandID) As Boolean
Parameters
Returns
true
if the command was found and invoked successfully; otherwise, false
.
Remarks
This method searches for a menu command or designer verb with a CommandID matching the specified CommandID. This method first searches within the designer verbs collection consisting of global and active designer-provided verbs before continuing the search, if necessary, through the global environment command service. If a matching menu command or designer verb is located, the command is invoked.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor