 | ContentTypeToString(Boolean) Method |
Serialize the
ContentType to a string, optionally encoding the parameters.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxpublic string ToString(
bool encode
)
Parameters
- encode Boolean
- If set to , the parameter values will be encoded.
Return Value
StringThe serialized string.
Remarks
Creates a string-representation of the
ContentType, optionally encoding
the parameters as they would be encoded for transport.
See Also