Delphi What is the IsImplementorOf Method in DelphiVCL.Application?

FireWind

Свой
Регистрация
2 Дек 2005
Сообщения
1,957
Реакции
1,199
Credits
4,009
What is the IsImplementorOf Method in DelphiVCL.Application?
By Muhammad Azizul Hakim September 8, 2021

What is the DelphiVCL.Application.IsImplementorOf Method?​

IsImplementorOf or DelphiVCL.Application.IsImplementorOf method indicates whether the component implements a specified interface.

Call IsImplementorOf to determine whether the component (or, if the component aggregates its interface with other components, whether the controlling component) supports the interface specified by I. IsImplementorOf is similar to the QueryInterface method, but it can handle a request for nil (Delphi) or NULL (C++) interface, and it does not return an interface pointer.

The streaming system that loads and saves components uses IsImplementorOf to resolve property values that are interfaces.

What are the methods and built-in properties of the DelphiVCL.Application.IsImplementorOf method?​

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