DotNetModule.LoadConstructorPrototypeFromMetadataToken

Syntax

DotNetModule.LoadConstructorPrototypeFromMetadataToken( metadataToken, options = 0)

Return Value

Boolean

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

Purpose

Note This method is obsolete . Use the DotNetCall.LoadPrototypeFromSignature method on a constructor call instead.

Remarks

Loads the prototype information for the constructor from the specified assembly. Calling this method updates the DotNetModule.ConstructorPrototype property and the DotNetModule.ConstructorParameters 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.ConstructorParameters

DotNetModule.ConstructorPrototype

DotNetModule.LoadConstructorInfo

DotNetModule.LoadMemberInfo

LoadPrototypeOptions

Obsolete DotNetModule Properties