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 |
Declaration Syntax
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 )
Parameters
- methodInfo (MethodInfo)
- The method.
Return Value
A signature compliant with Objective-C messaging.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the method is null. |
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)