System.WideStrings.TWideStringList.InsertObject

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

Delphi

procedure InsertObject(Index: Integer; const S: WideString;  AObject: TObject); override;

C++

virtual void __fastcall InsertObject(int Index, const System::WideString S, System::TObject* AObject);

プロパティ

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

説明

リストの指定位置に文字列を挿入し、それをオブジェクトに関連付けます。

InsertObject を呼び出すと、リスト内の Index で指定される位置に文字列 S が挿入され、オブジェクト AObject に関連付けられます。Index が 0 の場合、文字列はリストの先頭に挿入されます。Index が 1 の場合、文字列はリストの 2 番目の位置に挿入されます。その他の場合も同様に動作します。

関連項目