Debug.AssertInterpolatedStringHandler(Int32, Int32, Boolean, Boolean) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個處理器的實例。
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
插值字串中插值表達式的數量。
- shouldAppend
- Boolean
一個表示是否應該繼續格式化的值。
備註
此系統僅供編譯器產生的程式碼呼叫。 論點不會像原本那樣被驗證,因為會員本來就打算直接使用。