Selector Class
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.
Represents an Objective-C selector in managed code.
public class Selector : IEquatable<ObjCRuntime.Selector>, ObjCRuntime.INativeObject
type Selector = class
interface IEquatable<Selector>
interface INativeObject
- Inheritance
-
Selector
- Implements
Selector(Int |
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. |
Equals(Object) |
Compares two objects for equality |
Equals(Selector) |
Compares two selectors for equality. |
From |
Creates a managed selector wrapper based on the native handle to it. |
Get |
Returns the handle to the specified Objective-C selector. |
Get |
Returns the Selector's hash code. |
Register(Int |
Creates a new Selector instance for the specified Objective-C selector. |
Equality(Selector, Selector) |
Determines if two Selector objects are equal by comparing their native handles. |
Inequality(Selector, Selector) |
Determines if two Selector objects are different by comparing their native handles. |
Proizvod | Verzije |
---|---|
Xamarin.Mac SDK | 14 |