ObjCRuntime.Runtime.GetProtocol Method
Returns the handle of the Objective-C protocol descriptor for the given protocol name.

Syntax

public static IntPtr GetProtocol (string protocol)

Parameters

protocol
Name of the Objective-C protocol.

Returns

Remarks

This is the equivalent of the objc_getProtocol function call.

Requirements

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