| ITextPartSetText(Encoding, String) Method |
Set the text content and the charset parameter in the Content-Type header.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax void SetText(
Encoding encoding,
string text
)
Parameters
- encoding Encoding
- The charset encoding.
- text String
- The text content.
Exceptions Remarks
This method is similar to setting the
Text property,
but allows specifying a charset encoding to use. Also updates the
Charset property.
See Also