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