System.SysUtils.TStringBuilder.Create

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

Delphi

constructor Create; overload;
constructor Create(aCapacity: Integer); overload;
constructor Create(const Value: string); overload;
constructor Create(aCapacity: Integer; aMaxCapacity: Integer); overload;
constructor Create(const Value: string; aCapacity: Integer); overload;
constructor Create(const Value: string; StartIndex: Integer; Length: Integer; aCapacity: Integer); overload;

C++

__fastcall TStringBuilder(void)/* overload */;
__fastcall TStringBuilder(int aCapacity)/* overload */;
__fastcall TStringBuilder(const System::UnicodeString Value)/* overload */;
__fastcall TStringBuilder(int aCapacity, int aMaxCapacity)/* overload */;
__fastcall TStringBuilder(const System::UnicodeString Value, int aCapacity)/* overload */;
__fastcall TStringBuilder(const System::UnicodeString Value, int StartIndex, int Length, int aCapacity)/* overload */;

プロパティ

種類 可視性 ソース ユニット
constructor public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TStringBuilder

説明

メモリを割り当て、TStringBuilder の安全に初期化されたインスタンスを作成します。

Create を使用して、TStringBuilder クラスのインスタンスを作成します。

aCapacity は、Capacity プロパティの初期値を指定します。この TStringBuilder のインスタンスが保持できる最大文字数です。Capacity プロパティの値は変更できます。

Value は、この TStringBuilder インスタンスに格納する最初の文字配列を指定します。

aMaxCapacity は、TStringBuilder クラスのこのインスタンスに対してCapacity プロパティが持ち得る最大値です。

StartIndex は、この TStringBuilder インスタンスの初期文字配列にコピーする Value 文字列内の最初の文字のインデックスを指定します。

Length は、Value 文字列からこの TStringBuilder インスタンスの初期文字配列にコピーする文字数です。

関連項目

他の言語