Click or drag to resize
MimeKit

HeaderListItem(String) Property

Get or set the value of the first occurrence of a header with the specified field name.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public string this[
	string field
] { get; set; }

Parameters

field  String
The name of the header field.

Property Value

String
The value of the first occurrence of the specified header if it exists; otherwise null.
Exceptions
ExceptionCondition
ArgumentNullException

field is null.

-or-

value is null.

Remarks
Gets or sets the value of the first occurrence of a header with the specified field name.
See Also