Method SetValidator
SetValidator(Type?, bool)
Sets DataType to the specified type and and CharValidator to the appropriate validator provider.
public virtual void SetValidator(Type? type, bool charValidator)
Parameters
type
TypeNew DataType property value.
charValidator
boolWhether to create and assign appropriate char validator or assign CharValidator to Null.