Data.DBXPlatform.TDBXStringList.PutObject
Delphi
procedure PutObject(Index: Integer; AObject: TObject); override;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| procedure | protected | System.Classes.pas | Data.DBXPlatform | TDBXStringList |
Description
Changes the object associated with the string at a specified index. {{#multireplace:Data.DBXPlatform.TDBXStringList.PutObject|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Classes.TStrings.PutObject|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Classes.TStrings.PutObject|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Changes the object associated with the string at a specified index.
PutObject is the protected write implementation of the Objects property.
As implemented in TStrings, PutObject does nothing. This provides a default implementation for descendants that do not support associating objects with the strings in the list. Descendants that support this feature override PutObject to change the specified object.