Utility class to handle encoding of types and methods.
|C#||Visual Basic||Visual C++|
public static class ObjectiveCEncoding
Public NotInheritable Class ObjectiveCEncoding
public ref class ObjectiveCEncoding abstract sealed
Gets the selector for the given method.
The selector for a method is build with the following rules:
Here are some examples of result:
Gets the signature for the given method.
Here are some examples of result for methods:
Return the Objective-C encoding used to build selector signature.
Here are some examples of encoding:
For a full list of the encoding, refer to http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_5_section_7.html
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:
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)