Return the Objective-C encoding used to build selector signature.
Here are some examples of encoding:
| Type | Corresponding encoding |
|---|---|
| void | v |
| int or Int32 | i |
| NSString | @ |
| int[] | ^i |
| NSRect | {NSRect={NSPoint=ff}{NSSize=ff}} |
For a full list of the encoding, refer to http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_5_section_7.html
- type (Type)
- The type to encode.
The encoding representation
| Exception | Condition |
|---|---|
| ArgumentNullException | If the type is null. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)