Runtime.GetProtocol(String) 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.
Returns the handle of the Objective-C protocol descriptor for the given protocol name.
public static IntPtr GetProtocol (string protocol);
static member GetProtocol : string -> nativeint
Parameters
- protocol
- String
Name of the Objective-C protocol.
Returns
IntPtr
nativeint
The protocol handle for the given protocol name.
Remarks
This is the equivalent of the objc_getProtocol function call.