Click or drag to resize
MimeKit

MimePart(String) Constructor

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

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

Parameters

contentType  String
The content type.
Exceptions
ExceptionCondition
ArgumentNullExceptioncontentType is null.
ParseExceptioncontentType could not be parsed.
Remarks
Creates a new MimePart with the specified Content-Type value.
See Also