EmailStoreItemReadOptions
OfficeIMO.Email.Store
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
- Property EmailStoreItemReadOptions.Default
Accepted by parameters 1
- Method EmailStoreSession.ReadItem
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
- maxDecodedPropertyBytes long? = null
- preferStreamingAttachmentContent bool = false
Methods
public bool Includes(EmailStoreItemReadParts part) #Returns true when a part is requested.
Parameters
- part OfficeIMO.Email.Store.EmailStoreItemReadParts
Returns
boolInherited Methods
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.