JAMS Developer Guide
Validate Method (RequiredAttribute)


MVPSI.JAMS Namespace > RequiredAttribute Class : Validate Method
Checks to see if a value has been supplied.
Syntax
'Declaration
 
Public Function Validate( _
   ByVal newValue As System.Object, _
   ByVal valueType As System.Type, _
   ByRef errorMessage As System.String _
) As System.Boolean
'Usage
 
Dim instance As RequiredAttribute
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)
public 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

RequiredAttribute Class
RequiredAttribute Members