NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ModuleBuilder.GetConstructorDefToken

Deprecated. Return the token defined in the original module for the ConstructorInfo.

[Visual Basic]
Public Function GetConstructorDefToken( _
   ByVal con As ConstructorInfo _
) As MethodToken
[C#]
public MethodToken GetConstructorDefToken(
   ConstructorInfo con
);
[C++]
public: MethodToken GetConstructorDefToken(
   ConstructorInfo* con
);
[JScript]
public function GetConstructorDefToken(
   con : ConstructorInfo
) : MethodToken;

Parameters

con
The constructor to get a token for.

Return Value

Returns the token of the constructor.

Exceptions

Exception Type Condition
ArgumentNullException if con is a null reference (in Visual Basic Nothing)

See Also

ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace