HtmlTokenizerComplianceOptions Property

Get or set the options that control how HTML compliance violations are reported.

Definition

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

Property Value

HtmlComplianceOptions
The compliance options.

Remarks

Gets or sets the options that control how HTML compliance violations are reported. These options only have an effect when a ComplianceLogger has been set.

Setting either this property or ComplianceLogger, or changing MaxIssuesPerViolation, restarts the count of reported issues.

Exceptions

See Also