Επεξεργασία

Κοινή χρήση μέσω


Debug.WriteIfInterpolatedStringHandler.AppendFormatted Method

Definition

Overloads

AppendFormatted(ReadOnlySpan<Char>)

Writes the specified character span to the handler.

AppendFormatted(String)

Writes the specified value to the handler.

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(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, String)

Writes the specified value to the handler.

AppendFormatted<T>(T, Int32, String)

Writes the specified value to the handler.

AppendFormatted(ReadOnlySpan<Char>)

Source:
Debug.cs
Source:
Debug.cs
Source:
Debug.cs

Writes the specified character span to the handler.

public:
 void AppendFormatted(ReadOnlySpan<char> value);
public void AppendFormatted (ReadOnlySpan<char> value);
member this.AppendFormatted : ReadOnlySpan<char> -> unit
Public Sub AppendFormatted (value As ReadOnlySpan(Of Char))

Parameters

value
ReadOnlySpan<Char>

The span to write.

Applies to

AppendFormatted(String)

Source:
Debug.cs
Source:
Debug.cs
Source:
Debug.cs

Writes the specified value to the handler.

public:
 void AppendFormatted(System::String ^ value);
public void AppendFormatted (string value);
member this.AppendFormatted : string -> unit
Public Sub AppendFormatted (value As String)

Parameters

value
String

The value to write.

Applies to

AppendFormatted(Object, Int32, String)

Source:
Debug.cs
Source:
Debug.cs
Source:
Debug.cs

Writes the specified value to the handler.

public void AppendFormatted (object value, int alignment = 0, string format = default);
member this.AppendFormatted : obj * int * string -> unit
Public Sub AppendFormatted (value As Object, Optional alignment As Integer = 0, Optional format As String = Nothing)

Parameters

value
Object

The value to write.

alignment
Int32

Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.

format
String

The format string.

Applies to

AppendFormatted(ReadOnlySpan<Char>, Int32, String)

Source:
Debug.cs
Source:
Debug.cs
Source:
Debug.cs

Writes the specified string of chars to the handler.

public void AppendFormatted (ReadOnlySpan<char> value, int alignment = 0, string? format = default);
member this.AppendFormatted : ReadOnlySpan<char> * int * string -> unit
Public Sub AppendFormatted (value As ReadOnlySpan(Of Char), Optional alignment As Integer = 0, Optional format As String = Nothing)

Parameters

value
ReadOnlySpan<Char>

The span to write.

alignment
Int32

Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.

format
String

The format string.

Applies to

AppendFormatted(String, Int32, String)

Source:
Debug.cs
Source:
Debug.cs
Source:
Debug.cs

Writes the specified value to the handler.

public void AppendFormatted (string value, int alignment = 0, string format = default);
member this.AppendFormatted : string * int * string -> unit
Public Sub AppendFormatted (value As String, Optional alignment As Integer = 0, Optional format As String = Nothing)

Parameters

value
String

The value to write.

alignment
Int32

Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.

format
String

The format string.

Applies to

AppendFormatted<T>(T)

Source:
Debug.cs
Source:
Debug.cs
Source:
Debug.cs

Writes the specified value to the handler.

public:
generic <typename T>
 void AppendFormatted(T value);
public void AppendFormatted<T> (T value);
member this.AppendFormatted : 'T -> unit
Public Sub AppendFormatted(Of T) (value As T)

Type Parameters

T

The type of the value to write.

Parameters

value
T

The value to write.

Applies to

AppendFormatted<T>(T, Int32)

Source:
Debug.cs
Source:
Debug.cs
Source:
Debug.cs

Writes the specified value to the handler.

public:
generic <typename T>
 void AppendFormatted(T value, int alignment);
public void AppendFormatted<T> (T value, int alignment);
member this.AppendFormatted : 'T * int -> unit
Public Sub AppendFormatted(Of T) (value As T, alignment As Integer)

Type Parameters

T

The type of the value to write.

Parameters

value
T

The value to write.

alignment
Int32

Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.

Applies to

AppendFormatted<T>(T, String)

Source:
Debug.cs
Source:
Debug.cs
Source:
Debug.cs

Writes the specified value to the handler.

public:
generic <typename T>
 void AppendFormatted(T value, System::String ^ format);
public void AppendFormatted<T> (T value, string format);
member this.AppendFormatted : 'T * string -> unit
Public Sub AppendFormatted(Of T) (value As T, format As String)

Type Parameters

T

The type of the value to write.

Parameters

value
T

The value to write.

format
String

The format string.

Applies to

AppendFormatted<T>(T, Int32, String)

Source:
Debug.cs
Source:
Debug.cs
Source:
Debug.cs

Writes the specified value to the handler.

public:
generic <typename T>
 void AppendFormatted(T value, int alignment, System::String ^ format);
public void AppendFormatted<T> (T value, int alignment, string format);
member this.AppendFormatted : 'T * int * string -> unit
Public Sub AppendFormatted(Of T) (value As T, alignment As Integer, format As String)

Type Parameters

T

The type of the value to write.

Parameters

value
T

The value to write.

alignment
Int32

Minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.

format
String

The format string.

Applies to