Compartir a través de


ModuleBuilder.GetConstructorToken Method

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

Returns the token used to identify the specified constructor within this module.

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

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<SecuritySafeCriticalAttribute> _
Public Function GetConstructorToken ( _
    con As ConstructorInfo _
) As MethodToken
[ComVisibleAttribute(true)]
[SecuritySafeCriticalAttribute]
public MethodToken GetConstructorToken(
    ConstructorInfo con
)

Parameters

Return Value

Type: System.Reflection.Emit.MethodToken
The token used to identify the specified constructor within this module.

Exceptions

Exception Condition
ArgumentNullException

con is nulla null reference (Nothing in Visual Basic).

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.