Click or drag to resize
MimeKit

HeaderSetAdd(String) Method

Add the specified header.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.10.0
Syntax
C#
public bool Add(
	string header
)

Parameters

header  String
The header to add.

Return Value

Boolean
if the header was added to the set; otherwise, .
Exceptions
ExceptionCondition
ArgumentNullExceptionheader is .
InvalidOperationException The operation is invalid because the HeaderSet is read-only.
Remarks
Adds the specified header to the set of headers.
See Also