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

Parameters

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

Remarks

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

This constructor is used by Clone.

See Also