DotNetModule.LoadConstructorPrototypeFromMetadataToken
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
DotNetModule.LoadConstructorPrototypeFromMetadataToken
Syntax
DotNetModule.LoadConstructorPrototypeFromMetadataToken( metadataToken, options = 0)
Return Value
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
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