| Header(Encoding, HeaderId, String) Constructor |
Initialize a new instance of the
Header class.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public Header(
Encoding encoding,
HeaderId id,
string value
)
Parameters
- encoding Encoding
- The character encoding that should be used to
encode the header value.
- id HeaderId
- The header identifier.
- value String
- The value of the header.
Exceptions Remarks
Creates a new message or entity header for the specified field and
value pair. The encoding is used to determine which charset to use
when encoding the value according to the rules of rfc2047.
See Also