Export (0) Print
Expand All

SignatureHelper.GetMethodSigHelper Method (Module, CallingConventions, Type)

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)

[SecuritySafeCriticalAttribute]
public static SignatureHelper GetMethodSigHelper(
	Module mod,
	CallingConventions callingConvention,
	Type returnType
)

Parameters

mod
Type: System.Reflection.Module
The ModuleBuilder 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 null 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 null.

ArgumentException

mod is not a ModuleBuilder.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft