# EmailStoreEmlxWriterOptions

Deterministic policy for writing Apple Mail EMLX artifacts.

Class 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailStoreEmlxWriterOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Emlx/EmailStoreEmlxWriterOptions.cs#L11)

**Modifiers**

sealed

Deterministic policy for writing Apple Mail EMLX artifacts.

## Inheritance

- object
- EmailStoreEmlxWriterOptions

## Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 3

- Property [EmailStoreEmlxWriter.Options](/api/email/officeimo-email-store-emailstoreemlxwriter/#property-options)
- Property [EmailStoreEmlxWriterOptions.Default](/api/email/officeimo-email-store-emailstoreemlxwriteroptions/#property-default)
- Property [EmailStoreNativeDirectoryExportOptions.EmlxOptions](/api/email/officeimo-email-store-emailstorenativedirectoryexportoptions/#property-emlxoptions)

### Accepted by parameters 2

- Constructor [EmailStoreEmlxWriter.EmailStoreEmlxWriter](/api/email/officeimo-email-store-emailstoreemlxwriter/#constructor-ctor-officeimo-email-store-emailstoreemlxwriteroptions) parameter `options`
- Constructor [EmailStoreNativeDirectoryExportOptions.EmailStoreNativeDirectoryExportOptions](/api/email/officeimo-email-store-emailstorenativedirectoryexportoptions/#constructor-ctor-officeimo-email-store-emailstorenativedirectoryformat-string-boolean-boolean-boolean-boolean-boolean-boolean-boolean-int32-officeimo-email-emailwriteroptions-officeimo-email-store-emailstoreemlxwriteroptions) parameter `emlxOptions`

Filter members 

Show inherited

## Constructors

`public EmailStoreEmlxWriterOptions(EmailWriterOptions? messageOptions = null, bool includeMetadata = true, long maxOutputBytes = 536870912, int maxMetadataDepth = 32, int maxMetadataProperties = 16384)` [#](#constructor-ctor-officeimo-email-emailwriteroptions-boolean-int64-int32-int32)

[EmailStoreEmlxWriterOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Emlx/EmailStoreEmlxWriterOptions.cs#L11)

Creates an EMLX writer policy.

Parameters

**messageOptions OfficeIMO.Email.EmailWriterOptions? = null optional**

**includeMetadata bool = true optional**

**maxOutputBytes long = 536870912 optional**

**maxMetadataDepth int = 32 optional**

**maxMetadataProperties int = 16384 optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public static EmailStoreEmlxWriterOptions Default { get; }` [#](#property-default)

[EmailStoreEmlxWriterOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Emlx/EmailStoreEmlxWriterOptions.cs#L8)

Default EMLX writer policy.

`public EmailWriterOptions MessageOptions { get; }` [#](#property-messageoptions)

[EmailStoreEmlxWriterOptions.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Emlx/EmailStoreEmlxWriterOptions.cs#L25)

EML serialization policy.

`public bool IncludeMetadata { get; }` [#](#property-includemetadata)

[EmailStoreEmlxWriterOptions.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Emlx/EmailStoreEmlxWriterOptions.cs#L27)

Whether an Apple property-list metadata trailer is emitted.

`public long MaxOutputBytes { get; }` [#](#property-maxoutputbytes)

[EmailStoreEmlxWriterOptions.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Emlx/EmailStoreEmlxWriterOptions.cs#L29)

Maximum complete EMLX artifact bytes.

`public int MaxMetadataDepth { get; }` [#](#property-maxmetadatadepth)

[EmailStoreEmlxWriterOptions.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Emlx/EmailStoreEmlxWriterOptions.cs#L34)

Maximum retained property-list value depth, measured from the root dictionary at depth zero. The default matches [EmailStoreReaderOptions.MaxBTreeDepth](/api/email/officeimo-email-store-emailstorereaderoptions/).

`public int MaxMetadataProperties { get; }` [#](#property-maxmetadataproperties)

[EmailStoreEmlxWriterOptions.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Emlx/EmailStoreEmlxWriterOptions.cs#L39)

Maximum dictionary entries and array elements emitted in the property-list metadata trailer. The default matches [EmailStoreReaderOptions.MaxPropertiesPerItem](/api/email/officeimo-email-store-emailstorereaderoptions/).

<!-- PowerForge markdown artifact sha256:097F82374BF712BB7F649B8139333A84E223C99561CFCD32D262414943885DE9 -->
