JCL Help:GetVirtualMethod
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: GetVirtualMethod Function
Search in JCL Help
Search in all projects
Summary
Returns a pointer to the virtual method from the specified class with the given index.
Pascal
function GetVirtualMethod(AClass: TClass; const Index: Integer): Pointer;
Parameters
Parameters | Description |
AClass: TClass | The class for which to get a virtual method. |
const Index: Integer | The index of the virtual method to be retrieved. If the index is invalid the result is undefined. Valid indices are 0 to GetVirtualMethodCount - 1. |
Return Value
The result is a pointer to the virtual method. If the method is an abstract method the value returned is a pointer to System._AbstractError.
Description
Returns the virtual method from the specified class with the given index. There is no checking performed that the given index actually is a virtual method, and the return value is undefined for invalid indices.
See Also
GetVirtualMethodCount SetVirtualMethod
About
Unit
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