ObjCRuntime.Class.GetHandleIntrinsic Method
Gets the Objective-C handle to the given type.

Syntax

public static IntPtr GetHandleIntrinsic (string name)

Parameters

name
Type for an NSObject-derived class

Returns

The Objective-C handle to the object.

Remarks

This method looks up the Objective-C handle for the specified type. This method is special-cased by the AOT compiler to become an inlined, static reference to the type. This is significantly faster that calling jCRuntime.Selector.GetHandle (string), but it also means that the class must exist in the executable (or in a framework the executable is linked with).

Requirements

Namespace: ObjCRuntime
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0