'Declaration
Public Property MaximumLength As Integer
'Usage
Dim instance As TextLengthValidator Dim value As Integer instance.MaximumLength = value value = instance.MaximumLength
public int MaximumLength {get; set;}
'Declaration
Public Property MaximumLength As Integer
'Usage
Dim instance As TextLengthValidator Dim value As Integer instance.MaximumLength = value value = instance.MaximumLength
public int MaximumLength {get; set;}
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | The assigned value is less than MinimumLength. |