Skip to main content

TdxDynamicItemList.FirstIndex Property

Returns the first stored item‘s position within the list.

Declaration

property FirstIndex: 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 item list. The FirstIndex property returns 0 if the list is empty; otherwise, it returns the first item’s index.

Note

The FirstIndex and LastIndex property values match if the dynamic list contains only one item.

See Also