Redigera

Dela via


IMenuCommandService.AddVerb(DesignerVerb) Method

Definition

Adds the specified designer verb to the set of global designer verbs.

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

Parameters

verb
DesignerVerb

The DesignerVerb to add.

Remarks

Designers of components that provide designer verbs should use the Verbs property of their designer rather than calling this method. This method adds a global designer verb that can be accessed from the right-click shortcut menu in design mode regardless of the currently selected component.

Applies to

See also