OleMenuCommandService::GlobalInvoke Method (CommandID^)
Visual Studio 2015
Can be used to invoke any command within Visual Studio.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- commandID
-
Type:
System.ComponentModel.Design::CommandID^
The command ID of the command to search for and execute.
The GlobalInvoke method can be used to invoke any command within Visual Studio. Visual Studio uses a built-in search hierarchy to search for the requested command. The search pattern favors the current document window and then moves out to broader focus.
Show: