TFPSMap.Duplicates¶
What to do with duplicate key values.
Declaration¶
Source position: fgl.pp line 308
public property Duplicates: TDuplicates;
Description¶
Duplicates can be set to determine what to do with duplicate key values in the map:
- dupIgnore
- Ignore the new item, do not add it to the list.
- dupAccept
- Accept duplicates, adding them to the list.
- dupError
- Raise an error when an attempt is made to add a duplicate.
The value is ignored if Sorted is False.
See also¶
| Name | Description |
|---|---|
| TFPSMap.Sorted | Is the map permanently sorted on key ? |
| types.TDuplicates | Enumeration type, indicating what to do with duplicates in a list. |