Represents a delegate that can execute any method in managed code that is declared void and takes no parameters.
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 NSResponder's Invoke()()()() method, or when you need a simple delegate but do not want to define one yourself.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public delegate void MethodInvoker()
Public Delegate Sub MethodInvoker
public delegate void MethodInvoker()
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)