System.Reflection.Emit.ConstructorBuilder.GetToken Method

Returns the System.Reflection.Emit.MethodToken that represents the token for this constructor.

Syntax

public MethodToken GetToken ()

Returns

Returns the System.Reflection.Emit.MethodToken of this constructor.

Remarks

This code sample illustrates the use of GetToken.

code reference: ConstructorBuilder_GetModule_4#2

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0