Show: Delphi C++
Display Preferences

System.Generics.Collections.TList.TrimExcess

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure TrimExcess; inline;

C++

void __fastcall TrimExcess();

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TList

Description

Set list capacity to number of list elements.

TrimExcess sets Capacity to Count, getting rid of all excess capacity in the list.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance