JAMS Developer Guide
Validate Method (IValidationAttribute)


MVPSI.JAMS Namespace > IValidationAttribute Interface : Validate Method
Syntax
'Declaration
 
Function Validate( _
   ByVal newValue As System.Object, _
   ByVal valueType As System.Type, _
   ByRef errorMessage As System.String _
) As System.Boolean
'Usage
 
Dim instance As IValidationAttribute
Dim newValue As System.Object
Dim valueType As System.Type
Dim errorMessage As System.String
Dim value As System.Boolean
 
value = instance.Validate(newValue, valueType, errorMessage)
System.bool Validate( 
   System.object newValue,
   System.Type valueType,
   out System.string errorMessage
)

Parameters

newValue
valueType
errorMessage
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

IValidationAttribute Interface
IValidationAttribute Members