Click or drag to resize
MimeKit

Header Constructor (ParserOptions, Byte, Int32, Byte, Boolean)

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,
	byte[] field,
	int fieldNameLength,
	byte[] value,
	bool invalid
)

Parameters

options
Type: MimeKitParserOptions
The parser options used.
field
Type: SystemByte
The raw header field.
fieldNameLength
Type: SystemInt32
The length of the field name (not including trailing whitespace).
value
Type: SystemByte
The raw value of the header.
invalid
Type: SystemBoolean
true if the header field is invalid; othereise, false.
Remarks

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

This constructor is used by the TryParse methods.

See Also