System.WideStrings.TWideStringList.InsertObject
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 番目の位置に挿入されます。その他の場合も同様に動作します。