Läs på engelska Redigera

Dela via


StringBuilder.AppendInterpolatedStringHandler Struct

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides a handler used by the language compiler to append interpolated strings into StringBuilder instances.

C#
public struct StringBuilder.AppendInterpolatedStringHandler
Inheritance
StringBuilder.AppendInterpolatedStringHandler

Constructors

StringBuilder.AppendInterpolatedStringHandler(Int32, Int32, StringBuilder, IFormatProvider)

Creates a handler used to translate an interpolated string into a String.

StringBuilder.AppendInterpolatedStringHandler(Int32, Int32, StringBuilder)

Creates a handler used to append an interpolated string into a StringBuilder.

Methods

AppendFormatted(Object, Int32, String)

Writes the specified value to the handler.

AppendFormatted(ReadOnlySpan<Char>, Int32, String)

Writes the specified string of chars to the handler.

AppendFormatted(ReadOnlySpan<Char>)

Writes the specified character span to the handler.

AppendFormatted(String, Int32, String)

Writes the specified value to the handler.

AppendFormatted(String)

Writes the specified value to the handler.

AppendFormatted<T>(T, Int32, String)

Writes the specified value to the handler.

AppendFormatted<T>(T, Int32)

Writes the specified value to the handler.

AppendFormatted<T>(T, String)

Writes the specified value to the handler.

AppendFormatted<T>(T)

Writes the specified value to the handler.

AppendLiteral(String)

Writes the specified string to the handler.

Applies to

Produkt Versioner
.NET 6, 7, 8, 9, 10