Skip to content

TCache.Slots

Indexed array to the slots.

Declaration

Source position: cachecls.pp line 98

public property Slots[SlotIndex : Integer]: PCacheSlot;

Description

Slots provides index-based access to the TCacheSlot records in the list. Accessing the records directly does not change their position in the MRU list.

The index is zero-based and can maximally be SlotCount-1. Providing an invalid index will result in an exception.

See also

Name Description
TCache.Data Indexed access to data items.
TCache.SlotCount Number of slots in the list.