'Usage
Dim between As String
Dim dataType As String
Dim date As String
Dim equalTo As String
Dim greaterThan As String
Dim greaterThanOrEqual As String
Dim inSet As String
Dim lessThan As String
Dim lessThanOrEqual As String
Dim notEqual As String
Dim notInSet As String
Dim number As String
Dim regularExpression As String
Dim requiredField As String
Dim value As String
Dim instance As New CustomValidationMessages(between, dataType, date, equalTo, greaterThan, greaterThanOrEqual, inSet, lessThan, lessThanOrEqual, notEqual, notInSet, number, regularExpression, requiredField, value)
Parameters
between
A string representing the criterion's custom message for a "Between Min and Max"
operator error.
dataType
A string representing the criterion's base custom message for a "Data Type" error.
date
A string representing the criterion's custom message for a "Date" data type error.
equalTo
A string representing the criterion's custom message for a "Equal To" operator error.
greaterThan
A string representing the criterion's custom message for a "Greater Than"
operator error.
greaterThanOrEqual
A string representing the criterion's custom message for a "Greater
Than or Equal To" operator error.
inSet
A string representing the criterion's custom message for a "In Set of Values"
operator error.
lessThan
A string representing the criterion's custom message for a "Less Than" operator
error.
lessThanOrEqual
A string representing the criterion's custom message for a "Less Than
or Equal To" operator error.
notEqual
A string representing the criterion's custom message for a "Not Equal To" operator
error.
notInSet
A string representing the criterion's custom message for a "Not in Set of Values"
operator error.
number
A string representing the criterion's custom message for a "Number" data type error.
regularExpression
A string representing the criterion's custom message for a
"Regular Expression" error.
requiredField
A string representing the criterion's custom message for a "Required Field"
error.
value
A string representing the criterion's base custom message for any invalid input value.
Custom validation error messages apply to a specific validation criterion and, therefore, to specific input components.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2