Show: Delphi C++
Display Preferences

System.Classes.TComponent.IsImplementorOf

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsImplementorOf(const I: IInterface): Boolean;

C++

bool __fastcall IsImplementorOf(const System::_di_IInterface I);

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes 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.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance