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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應