Classes.TComponent.IsImplementorOf
From RAD Studio VCL Reference
Contents |
Delphi Information
From Classes.pas
function IsImplementorOf(const I: IInterface): Boolean;
Unit: Classes
Type: method
Visibility: public
Member Of: TComponent
C++ Information
From Classes.hpp
bool __fastcall IsImplementorOf(System::DelphiInterface<System::IInterface> I);
Unit: Classes
Type: method
Visibility: public
Member Of: TComponent
Description
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 a 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.