Data.DBXPlatform.TDBXStringList.InsertObject

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: procedure
Visibility: public
Source: System.Classes.pas
Unit: Data.DBXPlatform
Parent: TDBXStringList

Delphi

procedure InsertObject(Index: Integer; const S: string;
AObject: TObject); override;

Description

Inserts a string into the list at the specified position, and associates it with an object.

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

Inserts a string into the list at the specified position, and associates it with an object.

Call InsertObject to insert the string S into the list at the position identified by Index, and associate it with the object AObject. 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.

See Also

Code Examples