System.Generics.Collections.TList.Move

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

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 から始まるインデックスです。

関連項目