MenuCommandService.FindCommand Method (Guid, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: