ModuleBuilder.GetConstructorToken Method (ConstructorInfo)

 

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

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

[ComVisibleAttribute(true)]
public MethodToken GetConstructorToken(
	ConstructorInfo con
)

Parameters

con
Type: System.Reflection.ConstructorInfo

The constructor to get a token for.

Return Value

Type: System.Reflection.Emit.MethodToken

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

Exception Condition
ArgumentNullException

con is null.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show: