'Declaration Public Shared Function CreateDateValidator( _ ByVal typeOperator As ComparisonOperator, _ ByVal v1 As System.Object, _ ByVal v2 As System.Object, _ ByVal isTime As System.Boolean _ ) As DataValidator
'Usage Dim typeOperator As ComparisonOperator Dim v1 As System.Object Dim v2 As System.Object Dim isTime As System.Boolean Dim value As DataValidator value = DataValidator.CreateDateValidator(typeOperator, v1, v2, isTime)
public static DataValidator CreateDateValidator( ComparisonOperator typeOperator, System.object v1, System.object v2, System.bool isTime )
Parameters
- typeOperator
- The type of ComparisonOperator compare operator.
- v1
- The first object.
- v2
- The second object.
- isTime
true
if the validator is set to time; otherwise,false
.
Return Value
Returns a new validator.