System.ComponentModel.Design.IMenuCommandService.AddVerb Method

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

Syntax

public void AddVerb (DesignerVerb verb)

Parameters

verb
The System.ComponentModel.Design.DesignerVerb to add.

Remarks

Designers of components that provide designer verbs should use the IDesigner.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.

Requirements

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