Gets and sets the maximum length of the field.

Syntax

public int MaxLength { get; set; }
Public Property MaxLength() As Integer