Insert a new key in the list.
Source position: fgl.pp line 386
public procedure TFPGMapObject.InsertKey( |
Index: Integer; |
const AKey: TKey |
); |
Index |
|
Index at which to insert AKey. |
AKey |
|
Key to insert in the list. |
InsertKey inserts key AKey at position Index in the list. It is not allowed to insert a key in a sorted list.
If the index AIndex is out of range [0..Count-1], or the list is sorted, an EListError exception will be raised.
|
Insert a new key with associated data in the list. |
|
|
Add a key and value to the map. |
|
TFPSMap.Delete |
||
|
Remove a key/value pair from the map. |