Multipart(String, Object) Constructor
Initialize a new instance of the Multipart class.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public Multipart(
string subtype,
params Object[] args
)Parameters
Remarks
Creates a new Multipart with the specified subtype.
Exceptions
| ArgumentNullException |
subtype is . -or- args is . |
| ArgumentException | args contains one or more arguments of an unknown type. |