Click or drag to resize
MimeKit

HeaderSetContains(HeaderId) Method

Check if the set of headers contains the specified header.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public bool Contains(
	HeaderId header
)

Parameters

header  HeaderId
The header identifier.

Return Value

Boolean

Field Value

Boolean
true if the specified header exists; otherwise

Field Value

Boolean
false.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionheader is not a valid HeaderId.
Remarks
Determines whether or not the set of headers contains the specified header.
See Also