System.Classes.TList.Move

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure Move(CurIndex, NewIndex: Integer);

C++

void __fastcall Move(int CurIndex, int NewIndex);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TList

説明

Items 配列内の項目の位置を変更します。

Move メソッドを呼び出すと,CurIndex の位置にある項目を NewIndex の位置に移動できます。CurIndex と NewIndex には,配列 Items に対する 0 から始まるインデックスが入ります。

関連項目