JCL Help:GetDynamicMethod

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns a pointer to a specific dynamic method.


Pascal

 function GetDynamicMethod(AClass: TClass; Index: Integer): Pointer;


Parameters

Parameters Description
AClass: TClass The class for which to get the dynamic method.
Index: Integer The index for which to get.


Return Value

Returns a pointer to the dynamic method, or System._AbstractError if the dynamic method is an abstract method.


Description

Returns (the most recent version of) the dynamic method with the given index. If there is no dynamic method with the given index an abstract error will be raised, however, if the dynamic method is an abstract method, System._AbstractError is returned.


About

Unit

JclSysUtils


Donator

Python


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page