MenuCommandService::GlobalInvoke Method (CommandID^)
.NET Framework (current version)
Invokes the given command on the local form or in the global environment.
Assembly: System.Design (in System.Design.dll)
Parameters
- commandID
-
Type:
System.ComponentModel.Design::CommandID^
The command to invoke.
The local form is first searched for the given command ID. If it is found, it is invoked. Otherwise, the command ID is passed to the global environment command handler, if one is available.
.NET Framework
Available since 2.0
Available since 2.0
Show: