Asserts that two strings are not equal according to a particular string comparison mode.
Namespace:
MbUnit.Framework
Assembly:
MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public static void AreNotEqual(
string unexpectedValue,
string actualValue,
StringComparison comparisonType,
string messageFormat,
params Object[] messageArgs
) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub AreNotEqual ( _
unexpectedValue As String, _
actualValue As String, _
comparisonType As StringComparison, _
messageFormat As String, _
ParamArray messageArgs As Object() _
) |
Parameters
- unexpectedValue
- Type: System..::.String
The unexpected value.
- actualValue
- Type: System..::.String
The actual value.
- comparisonType
- Type: System..::.StringComparison
The string comparison type.
- messageFormat
- Type: System..::.String
The custom assertion message format, or null if none.
- messageArgs
- Type: array<
System..::.Object
>[]()[]
The custom assertion message arguments, or null if none.
Exceptions
See Also