Click or drag to resize
MimeKit

HeaderSearchQuery Constructor

Initializes a new instance of the HeaderSearchQuery class.

Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public HeaderSearchQuery(
	string field,
	string value
)

Parameters

field  String
The header field name.
value  String
The value to match against.
Exceptions
ExceptionCondition
ArgumentNullException

field is null.

-or-

value is null.

ArgumentExceptionfield is empty.
Remarks
Creates a new header search query.
See Also