ObjCRuntime.Selector.GetHandle Method
Returns a handle to the specified Objective-C class.

Syntax

[Foundation.Preserve]
public static IntPtr GetHandle (string name)

Parameters

name
Name of an Objective-C class

Returns

IntPtr.Zero if the class does not exist or has not been registered with the Objective-C runtime, or a token pointing to the Objective-C Class object otherwise.

Remarks

Requirements

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