Validates that the string argument matches an expected string.

Namespace: Nehta.VendorLibrary.Common
Assembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 3.0.2.0 (1.0.0.0)

Syntax

C#
public static void ValidateStringMatch(
	string name,
	string value,
	string expected
)
Visual Basic
Public Shared Sub ValidateStringMatch ( _
	name As String, _
	value As String, _
	expected As String _
)
Visual C++
public:
static void ValidateStringMatch(
	String^ name, 
	String^ value, 
	String^ expected
)

Parameters

name
Type: System..::..String
The name of the argument to validate.
value
Type: System..::..String
The value of the argument to validate.
expected
Type: System..::..String
The expected value of the argument.

See Also