GrapeCity.Windows.SpreadSheet.Data Namespace / DataValidator Class / CreateTextLengthValidator Method
The type of ComparisonOperator compare operator.
The first object.
The second object.


In This Topic
CreateTextLengthValidator Method
In This Topic
Creates a validator based on text length.
Syntax
'Declaration
 
Public Shared Function CreateTextLengthValidator( _
   ByVal typeOperator As ComparisonOperator, _
   ByVal v1 As Object, _
   ByVal v2 As Object _
) As DataValidator
 
'Usage
 
Dim typeOperator As ComparisonOperator
Dim v1 As Object
Dim v2 As Object
Dim value As DataValidator
 
value = DataValidator.CreateTextLengthValidator(typeOperator, v1, v2)

Parameters

typeOperator
The type of ComparisonOperator compare operator.
v1
The first object.
v2
The second object.

Return Value

Returns a new validator.
See Also