Header(ParserOptions, Byte, Byte, Boolean) Constructor

Initialize a new instance of the Header class.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
protected Header(
	ParserOptions options,
	byte[] field,
	byte[] value,
	bool invalid
)

Parameters

options  ParserOptions
The parser options used.
field  Byte
The raw header field.
value  Byte
The raw value of the header.
invalid  Boolean
if the header field is invalid; otherwise, .

Remarks

Creates a new message or entity header with the specified raw values.

This constructor is used by the TryParse methods.

See Also