TFPSMap.Remove
Remove a key/value pair from the map.
Declaration
Source position: fgl.pp line 284
public
function Remove(AKey: Pointer) : Integer;
Description
Remove removes the key/value pair pointing to by AKey from the map. It returns the index of Akey prior to removal from the list. If AKey was not found, -1 is returned.
Errors
None.
See also
| Name | Description |
|---|---|
| TFPSList.Delete | Delete an item from the list |
| TFPSMap.IndexOf | Index of key pointed to by AKey |