MenuCommandService.AddVerb(DesignerVerb) MenuCommandService.AddVerb(DesignerVerb) MenuCommandService.AddVerb(DesignerVerb) MenuCommandService.AddVerb(DesignerVerb) Method

Definition

Adds a verb to the verb table of the MenuCommandService.

public:
 virtual void AddVerb(System::ComponentModel::Design::DesignerVerb ^ verb);
public virtual void AddVerb (System.ComponentModel.Design.DesignerVerb verb);
abstract member AddVerb : System.ComponentModel.Design.DesignerVerb -> unit
override this.AddVerb : System.ComponentModel.Design.DesignerVerb -> unit
Public Overridable Sub AddVerb (verb As DesignerVerb)

Parameters

Implements

Exceptions

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

See also