Share via


Protocol Class

Definition

Representation of an Objective-C protocol.

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

Constructors

Name Description
Protocol(NativeHandle)
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

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

Name

Name of the protocol.

Methods

Name Description
GetHandle(String)

Returns the handle to the Objective-C protocol.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to