System.Classes.TStringList.InsertItem
Delphi
procedure InsertItem(Index: Integer; const S: string; AObject: TObject); virtual;
C++
virtual void __fastcall InsertItem(int Index, const System::UnicodeString S, System::TObject* AObject);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Classes.pas System.Classes.hpp |
System.Classes | TStringList |
Description
Internally used by the AddObject method.
The InsertItem method is used internally by the AddObject method to add a string and its associated object to the list.