TFPGMapInterfacedObjectData.InsertKey procedure
Insert a new key in the list.
Declaration
procedure InsertKey(Index: Integer; const AKey: TKey)Arguments
Index | Index at which to insert
|
AKey | Key to insert in the list. |
Description
InsertKey inserts key
AKey at position
Index in the list.
It is not allowed to insert a key in a sorted list.Errors
If the index
AIndex is out of range [0..Count-1], or the list is
sorted, an
EListError exception will be raised.
See also
- InsertKeyData
- Add
- Delete
- Remove
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
