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