MenuCommandService.AddVerb(DesignerVerb) Method

Definition

Adds a verb to the verb table of the MenuCommandService.

C#
public virtual void AddVerb(System.ComponentModel.Design.DesignerVerb verb);

Parameters

verb
DesignerVerb

The DesignerVerb to add.

Implements

Exceptions

verb is null.

Remarks

This verb is available regardless of what designer is currently selected. Unlike menu commands, verbs can define the text that is displayed to the user, but they do not define the placement of the command on the actual menu.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 5, 6, 7, 8, 9, 10

See also