System.Generics.Collections.TList.Move
Delphi
procedure Move(CurIndex, NewIndex: NativeInt); inline;
C++
void __fastcall Move(System::NativeInt CurIndex, System::NativeInt NewIndex);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TList |
説明
リスト内の項目の位置を変更します。
Move を呼び出すと、CurIndex パラメータで指定した位置にある項目を、NewIndex パラメータで指定した新しい位置へ移動することができます。CurIndex および NewIndex は、0 から始まるインデックスです。