Edytuj

Udostępnij za pośrednictwem


Protocol Class

Definition

Representation of an Objective-C protocol.

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

Constructors

Protocol(IntPtr)

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

Protocol(String)

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

Protocol(Type)

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

Properties

Handle

Handle (pointer) to the unmanaged object representation.

Name

Name of the protocol.

Methods

GetHandle(String)

Returns the handle to the Objective-C protocol.

Applies to