IMenuCommandService::FindCommand Method (CommandID^)
.NET Framework (current version)
Searches for the specified command ID and returns the menu command associated with it.
Assembly: System (in System.dll)
Parameters
- commandID
-
Type:
System.ComponentModel.Design::CommandID^
The CommandID to search for.
Return Value
Type: System.ComponentModel.Design::MenuCommand^The MenuCommand associated with the command ID, or null if no command is found.
.NET Framework
Available since 1.1
Available since 1.1
Show: