Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

EmailStoreQuery

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

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

Inheritance

  • Object
  • EmailStoreQuery

Usage

Explore 4 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 3

Constructors

public EmailStoreQuery(String? folderId = null, Boolean includeDescendants = false, Boolean includeAssociatedItems = false, Boolean includeOrphanedItems = false, OutlookItemKind? itemKind = null, String? subjectContains = null, String? senderContains = null, DateTimeOffset? since = null, DateTimeOffset? before = null, Boolean? hasAttachments = null, 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 OfficeIMO.Email.OutlookItemKind? = null optionalposition: 4
subjectContains System.String? = null optionalposition: 5
senderContains System.String? = null optionalposition: 6
since System.DateTimeOffset? = null optionalposition: 7
before System.DateTimeOffset? = null optionalposition: 8
hasAttachments System.Boolean? = null optionalposition: 9
isRead 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 EmailStoreQuery.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 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 DateTimeOffset? Since { get; } #

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

public DateTimeOffset? Before { get; } #

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

public Boolean? HasAttachments { get; } #

Optional declared attachment-presence filter.

public 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.