System.Generics.Collections.TList.Move

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Move(CurIndex, NewIndex: Integer); inline;

C++

void __fastcall Move(int CurIndex, int NewIndex);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TList

Description

Changes the position of an item in the list.

Call Move to move the item at the position given by the CurIndex parameter to a new position given by NewIndex parameter. CurIndex and NewIndex are zero-based indexes.

See Also