Debug.WriteIfInterpolatedStringHandler 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 an interpolated string handler for WriteIf(Boolean, String) and WriteLineIf(Boolean, Object) that only performs formatting if the condition applies.
public: value class Debug::WriteIfInterpolatedStringHandler
public struct Debug.WriteIfInterpolatedStringHandler
type Debug.WriteIfInterpolatedStringHandler = struct
Public Structure Debug.WriteIfInterpolatedStringHandler
- Inheritance
Constructors
Debug.WriteIfInterpolatedStringHandler(Int32, Int32, Boolean, Boolean) |
Creates an instance of the handler. |
Methods
AppendFormatted(Object, Int32, String) |
Writes the specified value to the handler. |
AppendFormatted(ReadOnlySpan<Char>) |
Writes the specified character span to the handler. |
AppendFormatted(ReadOnlySpan<Char>, Int32, String) |
Writes the specified string of chars to the handler. |
AppendFormatted(String) |
Writes the specified value to the handler. |
AppendFormatted(String, Int32, String) |
Writes the specified value to the handler. |
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 the specified value to the handler. |
AppendFormatted<T>(T, String) |
Writes the specified value to the handler. |
AppendLiteral(String) |
Writes the specified string to the handler. |
Applies to
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ