Click or drag to resize
MimeKit

Header Constructor (ParserOptions, HeaderId, String, Byte)

Initialize a new instance of the Header class.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 3.0.0
Syntax
C#
protected Header(
	ParserOptions options,
	HeaderId id,
	string field,
	byte[] value
)

Parameters

options
Type: MimeKitParserOptions
The parser options used.
id
Type: MimeKitHeaderId
The id of the header.
field
Type: SystemString
The raw header field.
value
Type: SystemByte
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