Content TypeMedia Subtype Property
Get or set the media subtype.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The media subtype.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public string MediaSubtype { get; set; }Property Value
StringThe media subtype.
Remarks
Represents the media subtype of the MimeEntity. Examples include
"html", "jpeg", and "octet-stream". This string should
always be treated as case-insensitive.
Exceptions
| ArgumentNullException | value is . |
| ArgumentException | value is empty or is not an ASCII MIME token. |