Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailStoreItemReadOptions

OfficeIMO.Email.Store

Namespace
OfficeIMO.Email.Store
Assembly
OfficeIMO.Email
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Controls which parts are decoded when one selected store item is read.

Inheritance

  • object
  • EmailStoreItemReadOptions

Usage

Explore 2 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 1

Accepted by parameters 1

Constructors

public EmailStoreItemReadOptions(EmailStoreItemReadParts parts = All, long? maxDecodedPropertyBytes = null, bool preferStreamingAttachmentContent = false) #

Creates selective item options. Dependent parts are included automatically.

Parameters

parts OfficeIMO.Email.Store.EmailStoreItemReadParts = All optional
maxDecodedPropertyBytes long? = null optional
preferStreamingAttachmentContent bool = false optional

Methods

public bool Includes(EmailStoreItemReadParts part) #

Returns true when a part is requested.

Parameters

part OfficeIMO.Email.Store.EmailStoreItemReadParts required

Returns

bool

Properties

public static EmailStoreItemReadOptions Default { get; } #

Default full-item projection.

public EmailStoreItemReadParts Parts { get; } #

Normalized parts requested from the store backend.

public long? MaxDecodedPropertyBytes { get; } #

Optional per-read cap for decoded property bytes. Backends may narrow this further and never widen EmailStoreReaderOptions.MaxDecodedPropertyBytesPerItem.

public bool PreferStreamingAttachmentContent { get; } #

Whether a capable session should expose attachment payloads through reopenable streams even when the store's compatibility options normally retain byte arrays.