Click or drag to resize
MimeKit

MimePart(String, String) Constructor

Initialize a new instance of the MimePart class with the specified media type and subtype.

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

Parameters

mediaType  String
The media type.
mediaSubtype  String
The media subtype.
Exceptions
ExceptionCondition
ArgumentNullException

mediaType is null.

-or-

mediaSubtype is null.

Remarks
Creates a new MimePart with the specified media type and subtype.
See Also