MenuCommandService::FindCommand Method (Guid, Int32)
.NET Framework (current version)
Searches for the MenuCommand associated with the given command.
Assembly: System.Design (in System.Design.dll)
Parameters
- guid
-
Type:
System::Guid
The GUID of the command.
- id
-
Type:
System::Int32
The ID of the command.
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: