Debug.WriteIfInterpolatedStringHandler(Int32, Int32, Boolean, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of the handler.
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)
Parameters
- literalLength
- Int32
The number of constant characters outside of interpolation expressions in the interpolated string.
- formattedCount
- Int32
The number of interpolation expressions in the interpolated string.
- shouldAppend
- Boolean
A value indicating whether formatting should proceed.
Remarks
This is intended to be called only by compiler-generated code. Arguments are not validated as they'd otherwise be for members intended to be used directly.