'Declaration Public MustOverride Function CanEvaluate( _ ByVal componentToValidate As Object _ ) As Boolean
'Usage Dim instance As ValidationExpression Dim componentToValidate As Object Dim value As Boolean value = instance.CanEvaluate(componentToValidate)
public abstract bool CanEvaluate( object componentToValidate )
Parameters
- componentToValidate
- The input component on which the evaluation is performed.
Return Value
true if the validation expression is well formatted and has all required operands and operators to be evaluated on the passed System.Windows.Forms.Control; false otherwise.