BlockLiteral.GetDelegateForBlock<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method supports the Xamarin.iOS runtime and is not intended for use by application developers.
public T GetDelegateForBlock<T> () where T : class;
member this.GetDelegateForBlock : unit -> 'T (requires 'T : null)
Type Parameters
- T
Desired type to get, the delegate must be compatible with this type.
Returns
T
Returns a delegate of the given type that can be used to invoke the Objective-C block in the provided handle.