Text Part(String, Object) Constructor
Initialize a new instance of the TextPart
class with the specified text subtype.
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 TextPart(
string subtype,
params Object[] args
)Parameters
Remarks
Creates a new TextPart with the specified subtype.
Exceptions
| ArgumentNullException |
subtype is . -or- args is . |
| ArgumentException |
args contains more than one Encoding. -or- args contains more than one String. -or- args contains one or more arguments of an unknown type. |