Click or drag to resize
MimeKit

HeaderSetAddRange(IEnumerableHeaderId) Method

Add a collection of headers.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public void AddRange(
	IEnumerable<HeaderId> headers
)

Parameters

headers  IEnumerableHeaderId
The headers to add.
Exceptions
ExceptionCondition
ArgumentNullExceptionheaders is null.
ArgumentException One or more of the specified headers is invalid.
InvalidOperationException The operation is invalid because the HeaderSet is read-only.
Remarks
Adds the specified headers to the set of headers.
See Also