DesignerActionMethodItem::Invoke Method ()

 

Programmatically executes the method associated with the DesignerActionMethodItem.

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

public:
virtual void Invoke()

Exception Condition
InvalidOperationException

The method, named in MemberName cannot be found.

If the IncludeAsDesignerVerb property is initialized to true, the associated method can also be invoked through the corresponding designer verb event.

.NET Framework
Available since 2.0
Return to top
Show: