Return the native type size used to build selector signature. The value represents the size to use when the type is placed on the parameter stack.
Here are some examples of sizes:
Type | Corresponding size (on IA32 architecture) |
---|---|
bool or Boolean | 1 |
int or Int32 | 4 |
NSString | 4 |
NSRect | 16 |


- type (Type)
- The type to measure.

The size value

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)