GetMethodSigHelper Method (Module, CallingConventions, Type)
Collapse the table of content
Expand the table of content

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.

Namespace:  System.Reflection.Emit
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).

Return Value

Type: System.Reflection.Emit.SignatureHelper
The SignatureHelper object for a method.

ExceptionCondition
ArgumentNullException

mod is Nothing.

ArgumentException

mod is not a dynamic module.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft