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.
Represents an Objective-C selector in managed code.
public class Selector : IEquatable<ObjCRuntime.Selector>, ObjCRuntime.INativeObject
type Selector = class interface IEquatable<Selector> interface INativeObject
Creates a selector from the unmanaged pointer to the Objective-C selector.
Creates a new selector and registers it with the Objective-C runtime.
Handle (pointer) to the unmanaged selector representation.
Name of this selector.
Compares two objects for equality
Compares two selectors for equality.
Creates a managed selector wrapper based on the native handle to it.
Returns the handle to the specified Objective-C selector.
Returns the Selector's hash code.
Creates a new Selector instance for the specified Objective-C selector.
Determines if two Selector objects are equal by comparing their native handles.
Determines if two Selector objects are different by comparing their native handles.