DotNetModule.GetMetadataToken
- Updated2025-07-21
- 1 minute(s) read
DotNetModule.GetMetadataToken
Syntax
DotNetModule.GetMetadataToken
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 prototype. If the prototype is not compatible, the method returns -1 .
See Also
DotNetCall.LoadPrototypeFromSignature
DotNetModule.GetConstructorMetadataToken
DotNetModule.LoadPrototypeFromMetadataToken