MenuCommandService::FindCommand Method (Guid, Int32)

 

Searches for the MenuCommand associated with the given command.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

protected:
MenuCommand^ FindCommand(
	Guid guid,
	int id
)

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
Return to top
Show: