MonobjcMonobjc Documented Class Library
CreateBlock Method (delegate)
NamespacesMonobjcObjectiveCRuntimeCreateBlock(Delegate)
Creates a block with the given delegate.
Declaration Syntax
C#Visual BasicVisual C++
public static Block CreateBlock(
	Delegate delegate
)
Public Shared Function CreateBlock ( _
	delegate As Delegate _
) As Block
public:
static Block^ CreateBlock(
	Delegate^ delegate
)
Parameters
delegate (Delegate)
The @delegate to wrap in the block.
Return Value
A new Block instance that wraps the delegate.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc (Module: Monobjc)