Header ListItem(Header Id) 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
The value of the first occurrence of the specified header if it exists; otherwise .
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
StringThe 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
| ArgumentNullException | value is . |