API Reference
Class
EmailStoreItemReadOptions
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
- Property EmailStoreItemReadOptions.Default
Accepted by parameters
- Method EmailStoreSession.ReadItem
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
- maxDecodedPropertyBytes System.Nullable{System.Int64} = null
- preferStreamingAttachmentContent System.Boolean = false
Methods
public Boolean Includes(EmailStoreItemReadParts part) #Returns:
BooleanReturns true when a part is requested.
Parameters
- part OfficeIMO.Email.Store.EmailStoreItemReadParts
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.