API Reference

Class

EmailStoreQuery

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

Bounded query evaluated over lightweight summaries from an open store session.

Inheritance

  • Object
  • EmailStoreQuery

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 EmailStoreQuery(String folderId = null, Boolean includeDescendants = false, Boolean includeAssociatedItems = false, Boolean includeOrphanedItems = false, Nullable<OutlookItemKind> itemKind = null, String subjectContains = null, String senderContains = null, Nullable<DateTimeOffset> since = null, Nullable<DateTimeOffset> before = null, Nullable<Boolean> hasAttachments = null, Nullable<Boolean> isRead = null, Int32 maxItemsScanned = 1000000, Int32 maxResults = 1000) #

Creates a bounded store query.

Parameters

folderId System.String = null optionalposition: 0
includeDescendants System.Boolean = false optionalposition: 1
includeAssociatedItems System.Boolean = false optionalposition: 2
includeOrphanedItems System.Boolean = false optionalposition: 3
itemKind System.Nullable{OfficeIMO.Email.OutlookItemKind} = null optionalposition: 4
subjectContains System.String = null optionalposition: 5
senderContains System.String = null optionalposition: 6
since System.Nullable{System.DateTimeOffset} = null optionalposition: 7
before System.Nullable{System.DateTimeOffset} = null optionalposition: 8
hasAttachments System.Nullable{System.Boolean} = null optionalposition: 9
isRead System.Nullable{System.Boolean} = null optionalposition: 10
maxItemsScanned System.Int32 = 1000000 optionalposition: 11
maxResults System.Int32 = 1000 optionalposition: 12

Properties

public String FolderId { get; } #

Optional folder identifier. Null searches every folder.

public Boolean IncludeDescendants { get; } #

Whether descendants of FolderId are included.

public Boolean IncludeAssociatedItems { get; } #

Whether folder-associated information items are searched.

public Boolean IncludeOrphanedItems { get; } #

Whether items recovered outside folder contents tables are searched.

public Nullable<OutlookItemKind> ItemKind { get; } #

Optional typed Outlook item filter.

public String SubjectContains { get; } #

Optional case-insensitive subject fragment.

public String SenderContains { get; } #

Optional case-insensitive sender name or address fragment.

public Nullable<DateTimeOffset> Since { get; } #

Optional inclusive lower bound applied to received time, then sent time.

public Nullable<DateTimeOffset> Before { get; } #

Optional exclusive upper bound applied to received time, then sent time.

public Nullable<Boolean> HasAttachments { get; } #

Optional declared attachment-presence filter.

public Nullable<Boolean> IsRead { get; } #

Optional read-state filter.

public Int32 MaxItemsScanned { get; } #

Maximum references whose summaries may be evaluated.

public Int32 MaxResults { get; } #

Maximum matching results returned.