Protocol Protocol Class

Definition

Representation of an Objective-C protocol.

public class Protocol : ObjCRuntime.INativeObject
type Protocol = class
    interface INativeObject
Inheritance
ProtocolProtocol
Implements

Constructors

Protocol(IntPtr) Protocol(IntPtr)

Creates an instance of the Protocol class for the specified Objective-C protocol.

Protocol(String) Protocol(String)

Creates an instance of Protocol by looking up the protocol by name.

Protocol(Type) Protocol(Type)

Creates an instance of the Protocol class for the specified managed type (which must represent an Objective-C protocol).

Properties

Handle Handle

Handle (pointer) to the unmanaged object representation.

Name Name

Name of the protocol.

Methods

GetHandle(String) GetHandle(String)

Returns the handle to the Objective-C protocol.

Applies to