# EmailPortableContentExportOptions

Policy for standalone calendar and contact export. Ordinary attachments and mail envelopes are outside this projection.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[EmailPortableContentExport.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Export/EmailPortableContentExport.cs#L6)

**Modifiers**

sealed

Policy for standalone calendar and contact export. Ordinary attachments and mail envelopes are outside this projection.

## Inheritance

- object
- EmailPortableContentExportOptions

## Usage

Explore 4 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.

### Accepted by parameters 4

- Method [EmailPortableContentCollection.ToCalendars](/api/email/officeimo-email-emailportablecontentcollection/#method-tocalendars-collections-generic-ienumerable-officeimo-email-emaildocument-officeimo-email-emailportablecontentexportoptions-int32-threading-cancellationtoken) parameter `options`
- Method [EmailPortableContentCollection.ToVCards](/api/email/officeimo-email-emailportablecontentcollection/#method-tovcards-collections-generic-ienumerable-officeimo-email-emaildocument-officeimo-email-emailportablecontentexportoptions-int32-threading-cancellationtoken) parameter `options`
- Method [EmailPortableContentExport.ToCalendar](/api/email/officeimo-email-emailportablecontentexport/#method-tocalendar-officeimo-email-emaildocument-officeimo-email-emailportablecontentexportoptions-threading-cancellationtoken) parameter `options`
- Method [EmailPortableContentExport.ToVCard](/api/email/officeimo-email-emailportablecontentexport/#method-tovcard-officeimo-email-emaildocument-officeimo-email-emailportablecontentexportoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public EmailPortableContentExportOptions(EmailConversionLossPolicy lossPolicy = Block, long maxSourceBytes = 16777216, long maxOutputBytes = 16777216)` [#](#constructor-ctor-officeimo-email-emailconversionlosspolicy-int64-int64)

[EmailPortableContentExport.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Export/EmailPortableContentExport.cs#L6)

Creates a bounded policy. Lossy regeneration requires an explicit Warn or Allow policy.

Parameters

**lossPolicy OfficeIMO.Email.EmailConversionLossPolicy = Block optional**

**maxSourceBytes long = 16777216 optional**

**maxOutputBytes long = 16777216 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 EmailConversionLossPolicy LossPolicy { get; }` [#](#property-losspolicy)

[EmailPortableContentExport.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Export/EmailPortableContentExport.cs#L14)

Known semantic loss policy.

`public long MaxSourceBytes { get; }` [#](#property-maxsourcebytes)

[EmailPortableContentExport.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Export/EmailPortableContentExport.cs#L16)

Maximum imported semantic attachment bytes read.

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

[EmailPortableContentExport.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Export/EmailPortableContentExport.cs#L18)

Maximum generated UTF-8 content-line bytes.

<!-- PowerForge markdown artifact sha256:BAC54D14A935DDA951783FE988A3D7EAAB665B4F51B2A3A8D881A73EF753E738 -->
