System.Classes.TStringList.Put

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Classes.pas
System.Classes.hpp
System.Classes TStringList

Description

Changes the value of the string with a specified index.

Put is the protected write implementation of the Strings property.

Put changes the value of the string with the index specified by Index to S. Put does not change the object at the specified position. That is, any object associated with the previous string becomes associated with the new string.

See Also