SignatureHelper.GetMethodSigHelper Method (Module, CallingConventions, Type)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns a signature helper for a method given the method's module, calling convention, and return type.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Shared Function GetMethodSigHelper ( _ mod As Module, _ callingConvention As CallingConventions, _ returnType As Type _ ) As SignatureHelper
Parameters
- mod
- Type: System.Reflection.Module
The module that contains the method for which the SignatureHelper is requested.
- callingConvention
- Type: System.Reflection.CallingConventions
The calling convention of the method.
- returnType
- Type: System.Type
The return type of the method, or Nothing for a void return type (Sub procedure in Visual Basic).
| Exception | Condition |
|---|---|
| ArgumentNullException | mod is Nothing. |
| ArgumentException | mod is not a dynamic module. |
Show: