Gets the signature for the given method.
Here are some examples of result for methods:
| Method | Corresponding signature (on IA32 architecture) |
|---|---|
| public void DoThis() | v8@0:4 |
| public void DoThis(int value) | v12@0:4i8 |
| public void DoThis(NSString str, int val) | v16@0:4@8i12 |
| C# | Visual Basic | Visual C++ |
public static string GetSignature( MethodInfo methodInfo )
Public Shared Function GetSignature ( _ methodInfo As MethodInfo _ ) As String
public: static String^ GetSignature( MethodInfo^ methodInfo )
- methodInfo (MethodInfo)
- The method.
A signature compliant with Objective-C messaging.
| Exception | Condition |
|---|---|
| ArgumentNullException | If the method 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)