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) | |
| Selector(String) |
Creates a new selector and registers it with the Objective-C runtime. |
Selector(NativeHandle)
public Selector(ObjCRuntime.NativeHandle sel);
new ObjCRuntime.Selector : ObjCRuntime.NativeHandle -> ObjCRuntime.Selector
Parameters
- sel
- NativeHandle
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.