MenuCommandService::FindCommand Method (CommandID^)

 

Searches for the MenuCommand associated with the given command ID.

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

public:
virtual MenuCommand^ FindCommand(
	CommandID^ commandID
) sealed

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