Protocol Klasse

Definition

Darstellung eines Objective-C-Protokolls.

public class Protocol : ObjCRuntime.INativeObject
type Protocol = class
    interface INativeObject
Vererbung
Protocol
Implementiert

Konstruktoren

Protocol(IntPtr)

Erstellt eine Instanz der Protocol-Klasse für das angegebene Objective-C-Protokoll.

Protocol(String)

Erstellt eine Instanz von Protocol, indem das Protokoll anhand des Namens gesucht wird.

Protocol(Type)

Erstellt eine Instanz der Protocol-Klasse für den angegebenen verwalteten Typ (der ein Objective-C-Protokoll darstellen muss).

Eigenschaften

Handle

Handle (Zeiger) auf die Darstellung des nicht verwalteten Objekts.

Name

Name des Protokolls.

Methoden

GetHandle(String)

Gibt das Handle an das Objective-C-Protokoll zurück.

Gilt für: