[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Insert a string and associated object in the list.
Source position: classesh.inc line 495
public procedure TStrings.InsertObject( |
Index: Integer; |
const S: String; |
AObject: TObject |
); |
InsertObjectinserts the string Sand its associated objectAObjectat position Indexin the list. Indexis a zero-based position, and can have values from 0to Count. If Indexequals Countthen the string is appended to the list.
If Indexis less than zero or larger than Countthen an EStringListErrorexception is raised.
|
Insert a string in the list. |
|
|
Add a string and associated object to the list. |
|
|
Add a string to the list. |
|
|
Delete a string from the list. |