HeaderListReplace(Header) Method

Replace all headers with identical field names with the single specified header.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void Replace(
	Header header
)

Parameters

header  Header
The header.

Remarks

Replaces all headers with identical field names with the single specified header.

If no headers with the specified field name exist, it is simply added.

Exceptions

ArgumentNullException header is .

See Also