Assert.AssertIsNotNullInterpolatedStringHandler Konstruktor

Definition

Initialisiert eine neue instance der Assert.AssertIsNotNullInterpolatedStringHandler -Struktur.

public AssertIsNotNullInterpolatedStringHandler(int literalLength, int formattedCount, object value, out bool shouldAppend);
public AssertIsNotNullInterpolatedStringHandler(int literalLength, int formattedCount, object? value, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsNotNullInterpolatedStringHandler : int * int * obj * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsNotNullInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, value As Object, ByRef shouldAppend As Boolean)

Parameter

literalLength
Int32

Die Anzahl der Konstantenzeichen in der interpolierten Zeichenfolge.

formattedCount
Int32

Die Anzahl der Interpolationsausdrücke in der interpolierten Zeichenfolge.

value
Object

Der zu bestätigende Wert; die Nachricht wird nur berechnet, wenn die Assertion fehlschlägt.

shouldAppend
Boolean

Gibt an, ob die interpolierte Zeichenfolge ausgewertet werden soll, wenn diese Methode zurückgegeben wird.

Gilt für: