HeaderSet Value(Encoding, String) Method
Set the header value using the specified character encoding.
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 void SetValue(
Encoding encoding,
string value
)Parameters
Remarks
When a particular charset is desired for encoding the header value
according to the rules of rfc2047, this method should be used
instead of the Value setter.
Exceptions
| ArgumentNullException |
encoding is . -or- value is . |