Share via


SignatureHelper.GetMethodSigHelper Method (CallingConventions, Type)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns a signature helper for a method given the method's calling convention and return type.

Namespace:  System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Shared Function GetMethodSigHelper ( _
    callingConvention As CallingConventions, _
    returnType As Type _
) As SignatureHelper
public static SignatureHelper GetMethodSigHelper(
    CallingConventions callingConvention,
    Type returnType
)

Parameters

  • returnType
    Type: System.Type
    The return type of the method, or nulla null reference (Nothing in Visual Basic) for a void return type (Sub procedure in Visual Basic).

Return Value

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

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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