[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# TCollectionItem.SetIndex

Write method for the TCollectionItem.Index property.

## Declaration

`protected procedure TCollectionItem.SetIndex(`
`Value: Integer`
`); virtual;`

## Description

SetIndex implements the write handler for the TCollectionItem.Index property. It requests the managing collection to move this item to the desired index value.

## See also

TCollectionItem.Index |  | Index of the item in its managing collection TCollection.Items property.