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

Definice

Vytvoří instanci obslužné rutiny.

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

Počet konstantních znaků mimo interpolační výrazy v interpolovaném řetězci.

formattedCount
Int32

Počet interpolačních výrazů v interpolovaném řetězci.

condition
Boolean

Podmínka Logická hodnota předaná metodě Debug .

shouldAppend
Boolean

Hodnota označující, zda má formátování pokračovat.

Poznámky

To je určeno k zavolání pouze kompilátorem generovaného kódu. Argumenty se neověřují, protože by jinak byly pro členy určené k přímému použití.

Platí pro