MenuCommandService::FindCommand Method (CommandID^)
.NET Framework (current version)
Searches for the MenuCommand associated with the given command ID.
Assembly: System.Design (in System.Design.dll)
Parameters
- commandID
-
Type:
System.ComponentModel.Design::CommandID^
The CommandID to find.
Return Value
Type: System.ComponentModel.Design::MenuCommand^The MenuCommand associated with the given command; otherwise, null if the command is not found.
.NET Framework
Available since 2.0
Available since 2.0
Show: