Returns a boolean value indicating whether the validation expression can be evaluated.
'Declaration
Public MustOverride Function CanEvaluate( _
ByVal As Object _
) As Boolean
'Usage
Dim instance As ValidationExpression
Dim componentToValidate As Object
Dim value As Boolean
value = instance.CanEvaluate(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.
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