MaximumLength property

Return the maximum length of the string value (in characters).

Visual Basic syntax

Public ReadOnly Property MaximumLength As Integer

C# syntax

public int MaximumLength {get;}