API:Data.DBXPlatform.TDBXStringList.Insert

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Insert(Index: Integer; const S: string); override;

Properties

Type Visibility Source Unit Parent
procedure public System.Classes.pas Data.DBXPlatform TDBXStringList

Description

Introduces abstract (Delphi) or pure virtual (C++) method to insert a string at a specified position.

Data.DBXPlatform.TDBXStringList.Insert inherits from System.Classes.TStrings.Insert. All content below this line refers to System.Classes.TStrings.Insert.

Introduces abstract (Delphi) or pure virtual (C++) method to insert a string at a specified position.

Descendants of TStrings implement an Insert method to add the string S to the list at the position specified by Index. If Index is 0, the string is inserted at the beginning of the list. If Index is 1, the string is put in the second position of the list, and so on.

All methods that add strings to the list use the Insert method to add the string.

If the string has an associated object, use the InsertObject method instead.

See Also