Click or drag to resize
MimeKit

MimeEntity(ContentType) Constructor

Initialize a new instance of the MimeEntity class.

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

Parameters

contentType  ContentType
The content type.
Exceptions
ExceptionCondition
ArgumentNullExceptioncontentType is null.
Remarks
Initializes the ContentType to the one provided.
See Also