Export (0) Print
Expand All

IMenuCommandService.AddVerb Method

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

Namespace: System.ComponentModel.Design
Assembly: System (in system.dll)

void AddVerb (
	DesignerVerb verb
)
void AddVerb (
	DesignerVerb verb
)
function AddVerb (
	verb : DesignerVerb
)
Not applicable.

Parameters

verb

The DesignerVerb to add.

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft