System.ComponentModel.Design.IMenuCommandService.FindCommand Method

Searches for the specified command ID and returns the menu command associated with it.

Syntax

public MenuCommand FindCommand (CommandID commandID)

Parameters

commandID
The System.ComponentModel.Design.CommandID to search for.

Returns

The System.ComponentModel.Design.MenuCommand associated with the command ID, or null if no command is found.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.ComponentModel.Design
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0