 | HeaderSetValue(FormatOptions, Encoding, String) Method |
Ses the header value using the specified formatting options and character encoding.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxpublic void SetValue(
FormatOptions format,
Encoding encoding,
string value
)
Parameters
- format FormatOptions
- The formatting options.
- encoding Encoding
- A character encoding.
- value String
- The header value.
Exceptions
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.
See Also