Click or drag to resize
MimeKit

BodyPart(ContentType, String) Constructor

Initializes a new instance of the BodyPart class.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.17.0
Syntax
C#
protected BodyPart(
	ContentType contentType,
	string partSpecifier
)

Parameters

contentType  ContentType
The content type.
partSpecifier  String
The part specifier.
Exceptions
ExceptionCondition
ArgumentNullException

contentType is .

-or-

partSpecifier is .

Remarks
Creates a new BodyPart.
See Also