Click or drag to resize
MimeKit

MimePart(ContentType) Constructor

Initialize a new instance of the MimePart class with the specified content type.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public MimePart(
	ContentType contentType
)

Parameters

contentType  ContentType
The content type.
Exceptions
ExceptionCondition
ArgumentNullExceptioncontentType is null.
Remarks
Creates a new MimePart with the specified Content-Type value.
See Also