Click or drag to resize
MimeKit

HeaderListContains(Header) Method

Check if the HeaderList contains the specified header.

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

Parameters

header  Header
The header.

Return Value

Boolean

Field Value

Boolean
true if the specified header is contained; otherwise,

Field Value

Boolean
false.

Implements

ICollectionTContains(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionheader is null.
Remarks
Determines whether or not the header list contains the specified header.
See Also