Debug.WriteIfInterpolatedStringHandler(Int32, Int32, Boolean, Boolean) Konstruktor

Definicja

Tworzy wystąpienie programu obsługi.

public:
 WriteIfInterpolatedStringHandler(int literalLength, int formattedCount, bool condition, [Runtime::InteropServices::Out] bool % shouldAppend);
public WriteIfInterpolatedStringHandler (int literalLength, int formattedCount, bool condition, out bool shouldAppend);
new System.Diagnostics.Debug.WriteIfInterpolatedStringHandler : int * int * bool * bool -> System.Diagnostics.Debug.WriteIfInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, condition As Boolean, ByRef shouldAppend As Boolean)

Parametry

literalLength
Int32

Liczba znaków stałych poza wyrażeniami interpolacji w ciągu interpolowanym.

formattedCount
Int32

Liczba wyrażeń interpolacji w ciągu interpolowanym.

condition
Boolean

Warunek wartość logiczna przekazana do Debug metody .

shouldAppend
Boolean

Wartość wskazująca, czy formatowanie powinno być kontynuowane.

Uwagi

Ma to być wywoływane tylko przez kod wygenerowany przez kompilator. Argumenty nie są weryfikowane, ponieważ w przeciwnym razie mają być używane bezpośrednio przez członków.

Dotyczy