共用方式為


Extensions.Append(StringBuilder, StringSegment) 方法

定義

將指定的 StringSegment 新增到 StringBuilder

public:
[System::Runtime::CompilerServices::Extension]
 static System::Text::StringBuilder ^ Append(System::Text::StringBuilder ^ builder, Microsoft::Extensions::Primitives::StringSegment segment);
public static System.Text.StringBuilder Append (this System.Text.StringBuilder builder, Microsoft.Extensions.Primitives.StringSegment segment);
static member Append : System.Text.StringBuilder * Microsoft.Extensions.Primitives.StringSegment -> System.Text.StringBuilder
<Extension()>
Public Function Append (builder As StringBuilder, segment As StringSegment) As StringBuilder

參數

builder
StringBuilder

要新增的目標 StringBuilder

segment
StringSegment

要加入的 StringSegment

傳回

原始的 StringBuilder

適用於