Header(ParserOptions, HeaderId, String, Byte) 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,
	HeaderId id,
	string field,
	byte[] value
)

Parameters

options  ParserOptions
The parser options used.
id  HeaderId
The id of the header.
field  String
The raw header field.
value  Byte
The raw value of the header.

Remarks

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

This constructor is used by MimeMessage and MimeEntity when serializing new values for headers.

See Also