'Declaration Public MustOverride Function Validate( _ ByVal value As Object, _ ByVal culture As CultureInfo, _ ByVal context As CellValidationContext _ ) As ValidationResult
'Usage Dim instance As CellValidationRule Dim value As Object Dim culture As CultureInfo Dim context As CellValidationContext Dim value As ValidationResult value = instance.Validate(value, culture, context)
public abstract ValidationResult Validate( object value, CultureInfo culture, CellValidationContext context )
Parameters
- value
- The value to validate.
- culture
- The CultureInfo of the value.
- context
- The validation context of the value to validate. The validation context includes both the associated cell and data item.
Return Value
A ValidationResult indicating whether the value passed the validation process.