EnrichedToHtmlMaxElementDepth Property

Get or set the maximum command nesting depth.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public int MaxElementDepth { get; set; }

Property Value

Int32
The 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.

See Also