API:System.Contnrs.TObjectList.Last

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Last: TObject; inline;

C++

HIDESBASE System::TObject* __fastcall Last();

Properties

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

Description

Returns Items[Count - 1].

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

Returns Items[Count - 1].

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

See Also

Code Examples