Click or drag to resize
MimeKit

HeaderListContains(HeaderId) Method

Check if the HeaderList contains a header with the specified field name.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public bool Contains(
	HeaderId id
)

Parameters

id  HeaderId
The header identifier.

Return Value

Boolean

Field Value

Boolean
true if the requested header exists; otherwise

Field Value

Boolean
false.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionid is not a valid HeaderId.
Remarks
Determines whether or not the header list contains the specified header.
See Also