Convert the selector into its pointer representation.

C# | Visual Basic | Visual C++ |
<ExtensionAttribute> _ Public Shared Function ToSelector ( _ selector As String _ ) As IntPtr
[ExtensionAttribute] public: static IntPtr ToSelector( String^ selector )

- selector (String)
- The selector.

The pointer representation

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)