System.Classes.TStringList.Put

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

Delphi

procedure Put(Index: Integer; const S: string); override;

C++

virtual void __fastcall Put(int Index, const System::UnicodeString S);

プロパティ

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

説明

指定されたインデックスの文字列の値を、変更します。

Put は、Strings プロパティに書き込むための protected 実装です。

Put は、Index で指定されたインデックスの文字列の値を、S に変更します。Put は、指定された位置のオブジェクトは変更しません。つまり、文字列に関連づけられたオブジェクトが、新しい文字列に関連づけられる、ということになります。

関連項目