TFPGInterfacedObjectList.Insert¶
Insert a new object in the list.
Declaration¶
Source position: fgl.pp line 250
public
procedure TFPGInterfacedObjectList.Insert(Index: Integer; const Item: T);
Errors¶
If an invalid index is specified, an EListError exception is raised.
See also¶
| Name | Description |
|---|---|
| TFPGInterfacedObjectList.Items | Indexed access to objects in the list. |
| TFPGInterfacedObjectList.Add | Add new object of class T to the list. |