System.Classes.TCollectionItem.SetIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetIndex(Value: Integer); virtual;

C++

virtual void __fastcall SetIndex(int Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Classes.pas
System.Classes.hpp
System.Classes TCollectionItem

Description

Moves the collection item to a specified position in the parent collection.

SetIndex is the protected write implementation of the Index property. The Value parameter specifies the new (0-based) position for the item in its parent collection.

See Also