ConstraintExpression.StartsWith(String) Method

Definition

Returns a constraint that succeeds if the actual value starts with the substring supplied as an argument.

public NUnit.Framework.Constraints.StartsWithConstraint StartsWith (string expected);
member this.StartsWith : string -> NUnit.Framework.Constraints.StartsWithConstraint

Parameters

expected
String

Returns

Applies to