System.Windows.Forms.MethodInvoker Delegate

Represents a delegate that can execute any method in managed code that is declared void and takes no parameters.

Syntax

public delegate void MethodInvoker ()

Remarks

System.Windows.Forms.MethodInvoker provides a simple delegate that is used to invoke a method with a void parameter list. This delegate can be used when making calls to a control's Control.Invoke(Delegate) method, or when you need a simple delegate but do not want to define one yourself.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0