共用方式為


Extensions.Append(StringBuilder, StringSegment) Method

Definition

Adds the given StringSegment to the 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

Parameters

builder
StringBuilder

The StringBuilder to add to.

segment
StringSegment

The StringSegment to add.

Returns

The original StringBuilder.

Applies to