'Declaration Public Overrides Function Evaluate( _ ByVal validationProvider As ValidationProvider, _ ByVal componentToValidate As Object, _ ByVal valueToValidate As String, _ ByRef validationMessage As String _ ) As Boolean
'Usage Dim instance As InputValueCriterion Dim validationProvider As ValidationProvider Dim componentToValidate As Object Dim valueToValidate As String Dim validationMessage As String Dim value As Boolean value = instance.Evaluate(validationProvider, componentToValidate, valueToValidate, validationMessage)
public override bool Evaluate( ValidationProvider validationProvider, object componentToValidate, string valueToValidate, out string validationMessage )
Parameters
- validationProvider
- The validation provider used for the validation.
- componentToValidate
- The input component containing the text value to be used for the validation.
- valueToValidate
- A string representing the text value to be validated.
- validationMessage
- A reference to a string representing the last error message of the validation failure, if any.
Return Value
true if the input component contains valid information based on this validation expression; false otherwise.