SortableListLimitNbOccurrences Method |
Limits the number of occurrences of a specified value.
Same values are equals according to the Equals() method of objects in the list.
The first occurrences encountered are kept.
Namespace:
Pathfinding
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax public void LimitNbOccurrences(
Object Value,
int NbValuesToKeep
)
Parameters
- Value
- Type: SystemObject
Value whose occurrences number must be limited. - NbValuesToKeep
- Type: SystemInt32
Number of occurrences to keep
See Also