System.Classes.TStrings.AddStrings

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

Delphi

procedure AddStrings(Strings: TStrings); overload; virtual;
procedure AddStrings(const Strings: TArray<string>); overload;
procedure AddStrings(const Strings: TArray<string>; const Objects: TArray<TObject>); overload;

C++

virtual void __fastcall AddStrings(TStrings* Strings)/* overload */;
void __fastcall AddStrings(const System::DynamicArray<System::UnicodeString> Strings)/* overload */;
void __fastcall AddStrings(const System::DynamicArray<System::UnicodeString> Strings, const System::DynamicArray<System::TObject*> Objects)/* overload */;

プロパティ

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


説明

文字列のグループをリストに追加します。

AddStrings を呼び出すと、文字列を別の TStrings オブジェクトからリストに追加することができます。 ソースとターゲットの両方の TStrings オブジェクトが、それら文字列に関連づけられているオブジェクトをサポートしている場合、関連オブジェクトへの参照も一緒に追加されます。

関連項目


コード サンプル