System.Classes.IInterfaceComponentReference.GetComponent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetComponent: TComponent;

C++

virtual TComponent* __fastcall GetComponent() = 0 ;

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes IInterfaceComponentReference

Description

Returns a reference to the component associated by the implementing class.

GetComponent returns a TComponent value that is associated with the implementing class. For example, the TComponent class itself implements the GetComponent to return a pointer to itself.

See Also