NullIsValid Property (TextLengthValidator)
In This Topic
Gets or sets whether the validation always succeeds when the specified value is a null reference (Nothing in Visual Basic).
Syntax
'Declaration
Public Property NullIsValid As Boolean
'Usage
Dim instance As TextLengthValidator
Dim value As Boolean
instance.NullIsValid = value
value = instance.NullIsValid
public bool NullIsValid {get; set;}
Property Value
true if the validation always succeeds when the specified value is a null reference (
Nothing in Visual Basic); otherwise,
false. The default is
true.
See Also