Specifies the maximum number of items stored within the current MRU list.
property MaxCount: Integer read; write;
To limit the maximum number of items stored within the current MRU list up to a specific value, set the MaxCount property to a value greater than 0. As a result, adding the items via the Add method will not expand the list’s capacity.
Setting the MaxCount property to 0 indicates that the current MRU list’s capacity is unlimited.
Use the Count property to determine the number of items within the current MRU list.
You can decrease the number of items by setting the MaxCount property to a value which is less than the current Count property value. All the items with an index less than the new Count property value will be retained, while all other items will be deleted.