Protocol Class
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.
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. |