'Declaration Public Overrides Function CanEvaluate( _ ByVal componentToValidate As Object _ ) As Boolean
'Usage Dim instance As ValidationCriterion Dim componentToValidate As Object Dim value As Boolean value = instance.CanEvaluate(componentToValidate)
public override bool CanEvaluate( object componentToValidate )
Parameters
- componentToValidate
- The object to perform the evaluation on.
Return Value
Returns true if the validation expression is well formatted and has all required operands and operators to be evaluated on the passed input System.ComponentModel.Component; false otherwise.