Selector Constructors
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.
Overloads
| Name | Description |
|---|---|
| Selector(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| Selector(String) |
Creates a new selector and registers it with the Objective-C runtime. |
Selector(NativeHandle)
A constructor used when creating managed representations of unmanaged objects. Called by the runtime.
public Selector(ObjCRuntime.NativeHandle sel);
new ObjCRuntime.Selector : ObjCRuntime.NativeHandle -> ObjCRuntime.Selector
Parameters
- sel
- NativeHandle
Pointer (handle) to the unmanaged object.
Applies to
Selector(String)
Creates a new selector and registers it with the Objective-C runtime.
public Selector(string name);
new ObjCRuntime.Selector : string -> ObjCRuntime.Selector
Parameters
- name
- String
The selector name.