HeaderListItem(HeaderId) Property

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

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public string? this[
	HeaderId id
] { get; set; }

Parameters

id  HeaderId
The header identifier.

Property Value

String
The value of the first occurrence of the specified header if it exists; otherwise .

Remarks

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

Exceptions

See Also