JCL Help:GetVirtualMethodCount

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the number of virtual methods of a class.


Pascal

 function GetVirtualMethodCount(AClass: TClass): Integer;


Parameters

Parameters Description
AClass: TClass The class for which to get the number of virtual methods.


Return Value

The number of virtual methods of the given class.


Description

GetVirtualMethodCount returns the number of virtual methods of the specified class. This includes the methods declared in the class itself and all its parent classes. However, the result does not include the virtual methods declared in TObject. The result includes all abstract methods.


See Also

GetVirtualMethod SetVirtualMethod


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