Returns the token used to identify the specified constructor within this module.
[Visual Basic] Public Function GetConstructorToken( _ ByVal con As ConstructorInfo _ ) As MethodToken [C#] public MethodToken GetConstructorToken( ConstructorInfo con ); [C++] public: MethodToken GetConstructorToken( ConstructorInfo* con ); [JScript] public function GetConstructorToken( con : ConstructorInfo ) : MethodToken;
Returns the token used to identify the constructor represented by con within this module.
Exception Type | Condition |
---|---|
ArgumentNullException | if con is a null reference (in Visual Basic Nothing) |
ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace