Click or drag to resize
MimeKit

FormatOptions Class

Format options for serializing various MimeKit objects.
Inheritance Hierarchy
SystemObject
  MimeKitFormatOptions

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.1.0.0
Syntax
C#
public class FormatOptions

The FormatOptions type exposes the following members.

Constructors
  NameDescription
Public methodFormatOptions
Initializes a new instance of the FormatOptions class.
Top
Properties
  NameDescription
Public propertyAllowMixedHeaderCharsets
Gets or sets whether the formatter should allow mixed charsets in the headers.
Public propertyEnsureNewLine
Gets or sets whether the formatter should ensure that messages end with a new-line sequence.
Public propertyHiddenHeaders
Gets the message headers that should be hidden.
Public propertyInternational
Gets or sets whether the new "Internationalized Email" formatting standards should be used.
Public propertyMaxLineLength
Gets the maximum line length used by the encoders. The encoders use this value to determine where to place line breaks.
Public propertyNewLineFormat
Gets or sets the new-line format.
Public propertyParameterEncodingMethod
The method to use for encoding Content-Type and Content-Disposition parameter values.
Top
Methods
  NameDescription
Public methodClone
Clones an instance of FormatOptions.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberDefault
The default formatting options.
Top
Remarks
Represents the available options for formatting MIME messages and entities when writing them to a stream.
See Also