MemoryExtensions.TryWriteInterpolatedStringHandler 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 format interpolated strings into character spans.
public: value class MemoryExtensions::TryWriteInterpolatedStringHandler
public ref struct MemoryExtensions.TryWriteInterpolatedStringHandler
type MemoryExtensions.TryWriteInterpolatedStringHandler = struct
Public Structure MemoryExtensions.TryWriteInterpolatedStringHandler
- Inheritance
Constructors
MemoryExtensions.TryWriteInterpolatedStringHandler(Int32, Int32, Span<Char>, Boolean) |
Creates a handler used to write an interpolated string into a span of characters. |
MemoryExtensions.TryWriteInterpolatedStringHandler(Int32, Int32, Span<Char>, IFormatProvider, Boolean) |
Creates a handler used to write an interpolated string into a span of characters. |
Methods
AppendFormatted(Object, Int32, String) |
Writes the specified value to the handler. |
AppendFormatted(ReadOnlySpan<Char>) |
Writes the specified value to the handler. |
AppendFormatted(ReadOnlySpan<Char>, Int32, String) |
Writes the specified value to the handler. |
AppendFormatted(String) |
Writes the specified value to the handler. |
AppendFormatted(String, Int32, String) |
Writes a specified value to the handler using a specified format string. |
AppendFormatted<T>(T) |
Writes the specified value to the handler. |
AppendFormatted<T>(T, Int32) |
Writes the specified value to the handler. |
AppendFormatted<T>(T, Int32, String) |
Writes a specified value to the handler using a specified format string. |
AppendFormatted<T>(T, String) |
Writes a specified value to the handler using a specified format string. |
AppendLiteral(String) |
Writes the specified string to the handler. |
Applies to
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про