TdxDynamicItemList.LastIndex Property
In This Article
Returns the last stored item‘s position within the sparse item list.
#Declaration
Delphi
property LastIndex: Integer read;
#Property Value
Type |
---|
Integer |
#Remarks
You can use the FirstIndex and LastIndex properties to obtain the first and last occupied positions within the sparse list. The LastIndex property returns -1 if the list is empty; otherwise, it returns the last item’s index.
The Count property always returns the LastIndex property value plus one.
Note
The First
See Also