Mime Part(Content Type) Constructor
Initialize a new instance of the MimePart class
with the specified content type.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public MimePart(
ContentType contentType
)Parameters
- contentType ContentType
- The content type.
Remarks
Creates a new MimePart with the specified Content-Type value.
Exceptions
| ArgumentNullException | contentType is . |