Extensions.Append(StringBuilder, StringSegment) Method

Definition

Adds the given StringSegment to the StringBuilder.

C#
public static System.Text.StringBuilder Append(this System.Text.StringBuilder builder, Microsoft.Extensions.Primitives.StringSegment segment);

Parameters

builder
StringBuilder

The StringBuilder to add to.

segment
StringSegment

The StringSegment to add.

Returns

The original StringBuilder.

Applies to

Producto Versiones
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)