DevForce Help Reference
IsValid(Object,ValidationContext) Method


The value to validate.
The context information about the validation operation.
Validates the specified value with respect to the current validation attribute.
Syntax
'Declaration
 
Protected Overloads Overrides Function IsValid( _
   ByVal value As Object, _
   ByVal validationContext As ValidationContext _
) As ValidationResult
'Usage
 
Dim instance As ValidateInstance
Dim value As Object
Dim validationContext As ValidationContext
Dim value As ValidationResult
 
value = instance.IsValid(value, validationContext)

Parameters

value
The value to validate.
validationContext
The context information about the validation operation.

Return Value

Requirements

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

See Also

Reference

ValidateInstance Class
ValidateInstance Members
Overload List

Send Feedback