GrapeCity.Windows.SpreadSheet.Data Namespace / DataValidator Class / CreateNumberValidator Method
The type of ComparisonOperator compare operator.
The first object.
The second object.
true if the validator is set to a number; otherwise, false.


In This Topic
CreateNumberValidator Method
In This Topic
Creates a validator based on numbers.
Syntax
'Declaration
 
Public Shared Function CreateNumberValidator( _
   ByVal typeOperator As ComparisonOperator, _
   ByVal v1 As Object, _
   ByVal v2 As Object, _
   ByVal isIntegerValue As Boolean _
) As DataValidator
 
'Usage
 
Dim typeOperator As ComparisonOperator
Dim v1 As Object
Dim v2 As Object
Dim isIntegerValue As Boolean
Dim value As DataValidator
 
value = DataValidator.CreateNumberValidator(typeOperator, v1, v2, 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.
See Also