Click or drag to resize
MimeKit

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

Parameters

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