Format Options Class
Format options for serializing various MimeKit objects.
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 class FormatOptions- Inheritance
- Object FormatOptions
Remarks
Represents the available options for formatting MIME messages
and entities when writing them to a stream.
Constructors
| FormatOptions | Initialize a new instance of the FormatOptions class. |
Properties
| AllowMixedHeaderCharsets | Get or set whether the formatter should allow mixed charsets in the headers. |
| AlwaysQuoteParameterValues | Get or set whether Content-Type and Content-Disposition parameter values should always be quoted even when they don't need to be. |
| EnsureNewLine | Get or set whether the formatter should ensure that messages end with a new-line sequence. |
| HiddenHeaders | Get the message headers that should be hidden. |
| International | Get or set whether the new "Internationalized Email" formatting standards should be used. |
| MaxLineLength | Get or set the maximum line length used by the encoders. The encoders use this value to determine where to place line breaks. |
| NewLineFormat | Get or set the new-line format. |
| ParameterEncodingMethod | Get or set the method to use for encoding Content-Type and Content-Disposition parameter values. |
Methods
| Clone | Clone an instance of FormatOptions. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
Fields
| Default | The default formatting options. |