API Reference

Class

EmailStoreItemReadOptions

Namespace OfficeIMO.Email.Store
Assembly OfficeIMO.Email
Modifiers sealed

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

Inheritance

  • Object
  • EmailStoreItemReadOptions

Usage

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

Returned or exposed by

Accepted by parameters

Constructors

public EmailStoreItemReadOptions(EmailStoreItemReadParts parts = All, Nullable<Int64> maxDecodedPropertyBytes = null, Boolean preferStreamingAttachmentContent = false) #

Creates selective item options. Dependent parts are included automatically.

Parameters

parts OfficeIMO.Email.Store.EmailStoreItemReadParts = All optionalposition: 0
maxDecodedPropertyBytes System.Nullable{System.Int64} = null optionalposition: 1
preferStreamingAttachmentContent System.Boolean = false optionalposition: 2

Methods

public Boolean Includes(EmailStoreItemReadParts part) #
Returns: Boolean

Returns true when a part is requested.

Parameters

part OfficeIMO.Email.Store.EmailStoreItemReadParts requiredposition: 0

Properties

public static EmailStoreItemReadOptions Default { get; } #

Default full-item projection.

public EmailStoreItemReadParts Parts { get; } #

Normalized parts requested from the store backend.

public Nullable<Int64> MaxDecodedPropertyBytes { get; } #

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

public Boolean PreferStreamingAttachmentContent { get; } #

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