HeaderSetContains(HeaderId) Method

Check if the set of headers contains the specified header.

Definition

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

Parameters

header  HeaderId
The header identifier.

Return Value

Boolean
if the specified header exists; otherwise, .

Remarks

Determines whether or not the set of headers contains the specified header.

Exceptions

ArgumentOutOfRangeException header is not a valid HeaderId.

See Also