Delphi This Is The FreeOnRelease Method Of DelphiVCL.Application

FireWind

Свой
Регистрация
2 Дек 2005
Сообщения
1,957
Реакции
1,199
Credits
4,009
This Is The FreeOnRelease Method Of DelphiVCL.Application
By Muhammad Azizul Hakim August 13, 2021

FreeOnRelease method or DelphiVCL.Application.FreeOnRelease is used to free the interface reference for components that were created from COM classes.

FreeOnRelease is called when an interface implemented by the component is released. FreeOnRelease is used internally and calls the corresponding interface method. It should not be necessary to call FreeOnRelease directly.

How to examine the properties and methods of DelphiVCL.Application.FreeOnRelease?​

Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.FreeOnRelease using dir() command:
Python:
import DelphiVCL
 
dir(DelphiVCL.Application.FreeOnRelease)
See the responses in our Windows command prompt:
1628955544940.png
You can also read short information about the DelphiVCL.Application.FreeOnRelease using the print() command:
Python:
print(DelphiVCL.Application.FreeOnRelease)
print(DelphiVCL.Application.FreeOnRelease.__doc__)
See the responses in our Windows command prompt:
1628955578728.png