InplaceStringBuilder.Append 方法

定义

重载

Append(StringSegment)

将字符串段追加到当前 InplaceStringBuilder 实例的末尾。

Append(Char)

将字符追加到当前 InplaceStringBuilder 实例的末尾。

Append(String)

将字符串追加到当前 InplaceStringBuilder 实例的末尾。

Append(String, Int32, Int32)

将子字符串追加到当前 InplaceStringBuilder 实例的末尾。

Append(StringSegment)

Source:
InplaceStringBuilder.cs
Source:
InplaceStringBuilder.cs
Source:
InplaceStringBuilder.cs

将字符串段追加到当前 InplaceStringBuilder 实例的末尾。

public:
 void Append(Microsoft::Extensions::Primitives::StringSegment segment);
public void Append (Microsoft.Extensions.Primitives.StringSegment segment);
member this.Append : Microsoft.Extensions.Primitives.StringSegment -> unit
Public Sub Append (segment As StringSegment)

参数

segment
StringSegment

要追加的字符串段。

适用于

Append(Char)

Source:
InplaceStringBuilder.cs
Source:
InplaceStringBuilder.cs
Source:
InplaceStringBuilder.cs

将字符追加到当前 InplaceStringBuilder 实例的末尾。

public:
 void Append(char c);
public void Append (char c);
member this.Append : char -> unit
Public Sub Append (c As Char)

参数

c
Char

要追加的字符。

适用于

Append(String)

Source:
InplaceStringBuilder.cs
Source:
InplaceStringBuilder.cs
Source:
InplaceStringBuilder.cs

将字符串追加到当前 InplaceStringBuilder 实例的末尾。

public:
 void Append(System::String ^ value);
public void Append (string? value);
member this.Append : string -> unit
Public Sub Append (value As String)

参数

value
String

要追加的字符串。

适用于

Append(String, Int32, Int32)

Source:
InplaceStringBuilder.cs
Source:
InplaceStringBuilder.cs
Source:
InplaceStringBuilder.cs

将子字符串追加到当前 InplaceStringBuilder 实例的末尾。

public:
 void Append(System::String ^ value, int offset, int count);
public void Append (string? value, int offset, int count);
member this.Append : string * int * int -> unit
Public Sub Append (value As String, offset As Integer, count As Integer)

参数

value
String

包含要追加的子字符串的字符串。

offset
Int32

value 中子字符串开始的位置。

count
Int32

要追加的 value 中的字符数。

适用于