DotNetModule.GetMetadataToken

Syntax

DotNetModule.GetMetadataToken

Return Value

Long

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

Module.IsPrototypeIncompatible

Obsolete DotNetModule Properties