System.Generics.Collections.TStack.TrimExcess
Delphi
procedure TrimExcess; inline;
C++
void __fastcall TrimExcess(void);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | public | System.Generics.Collections.pas System.Generics.Collections.hpp | System.Generics.Collections | TStack | 
Description
Set capacity same as current number of items.
TrimExcess sets the capacity equal to the number of items on the stack.
See Also
Code Examples