Assert.AssertIsFalseInterpolatedStringHandler 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.
Initializes a new instance of the Assert.AssertIsFalseInterpolatedStringHandler struct.
public AssertIsFalseInterpolatedStringHandler(int literalLength, int formattedCount, bool? condition, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsFalseInterpolatedStringHandler : int * int * Nullable<bool> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsFalseInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, condition As Nullable(Of Boolean), ByRef shouldAppend As Boolean)
Parameters
- literalLength
- Int32
The number of constant characters in the interpolated string.
- formattedCount
- Int32
The number of interpolation expressions in the interpolated string.
The condition value being asserted; the message is only computed when the assertion fails.
- shouldAppend
- Boolean
When this method returns, indicates whether the interpolated string should be evaluated.