API:System.Contnrs.TComponentList.Last

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Last: TComponent; inline;

C++

HIDESBASE System::Classes::TComponent* __fastcall Last();

Properties

Type Visibility Source Unit Parent
function public
System.Contnrs.pas
System.Contnrs.hpp
System.Contnrs TComponentList

Description

Returns the object at the end of the Items array.

System.Contnrs.TComponentList.Last inherits from System.Contnrs.TObjectList.Last. All content below this line refers to System.Contnrs.TObjectList.Last.

Returns the object at the end of the Items array.

Call Last to retrieve the last object in the Items array.

See Also