Click or drag to resize
MimeKit

HeaderSetContains(String) Method

Check if the set of headers contains the specified header.

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

Parameters

header  String
The name of the header.

Return Value

Boolean
if the specified header exists; otherwise, .

Implements

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