Html To TextMax Input Length Property
Get or set the maximum input length.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The maximum input length.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public int MaxInputLength { get; set; }Property Value
Int32The maximum input length.
Remarks
Gets or sets the maximum number of UTF-16 characters read from the input, including markup and suppressed content. This also bounds individual tokens and retained attributes. Exceeding this limit throws a FormatException.
The default value is 16777216. The header and footer are not included in this limit.
Exceptions
| ArgumentOutOfRangeException | value is less than 1. |