DotNetModule.GetConstructorMetadataToken
- Updated2025-07-21
- 1 minute(s) read
DotNetModule.GetConstructorMetadataToken
Syntax
DotNetModule.GetConstructorMetadataToken
Return Value
Purpose
Note
This method is
obsolete
. The .NET Adapter no longer uses metadata tokens to load the prototype. Use the
DotNetCall.LoadPrototypeFromSignature
method to specify a signature for a call instead.
Remarks
Returns the metadata token for the specified constructor prototype. If the prototype is not compatible, the method returns -1 .
See Also
DotNetCall.LoadPrototypeFromSignature
DotNetModule.IsConstructorPrototypeIncompatible