DotNetModule.LoadPrototypeFromMetadataToken

Syntax

DotNetModule.LoadPrototypeFromMetadataToken( metadataToken, options = 0)

Return Value

Boolean

Return True if the prototype for the class in the specified assembly is different from the current prototype of the module. Otherwise, return False .

Purpose

Note This method is obsolete . Use the DotNetCall.LoadPrototypeFromSignature method instead.

Remarks

Loads the prototype information for the class, method, or property from the specified assembly. Calling this method updates the DotNetModule.Parameters collection.

This method replaces the DotNetModule.LoadConstructorInfo and DotNetModule.LoadMemberInfo obsolete methods.

Parameters

metadataToken As Long

[In] Specifies the metadata token property from the .NET class MemberInfo, which you can retrieve using reflection on an assembly.

options As Long

[In] Specifies one or more LoadPrototypeOptions constants. Use the bitwise-OR operator to specify multiple flags.

This parameter has a default value of 0 .

See Also

DotNetCall.LoadPrototypeFromSignature

DotNetModule.GetMetadataToken

DotNetModule.LoadConstructorInfo

DotNetModule.LoadConstructorPrototypeFromMetadataToken

DotNetModule.LoadMemberInfo

DotNetModule.Parameters

LoadPrototypeOptions

Module.IsPrototypeIncompatible

Obsolete DotNetModule Properties