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