語言

Debug.AssertInterpolatedStringHandler(Int32, Int32, Boolean, Boolean) 建構函式

定義

建立一個處理器的實例。

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

參數

literalLength
Int32

插值字串中插值表達式外的常數字元數。

formattedCount
Int32

插值字串中插值表達式的數量。

condition
Boolean

布林條件傳給了方法。Debug

shouldAppend
Boolean

一個表示是否應該繼續格式化的值。

備註

此系統僅供編譯器產生的程式碼呼叫。 論點不會像原本那樣被驗證,因為會員本來就打算直接使用。

適用於