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