Enriched To HtmlMax Element Depth Property
Get or set the maximum command nesting depth.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The maximum command nesting depth.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public int MaxElementDepth { get; set; }Property Value
Int32The maximum command nesting depth.
Remarks
Counts recognized and unknown commands, including nested parameter commands.
The default is 4096. Exceeding the limit throws FormatException.
Exceptions
| ArgumentOutOfRangeException | value is less than one. |