Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailStoreQuery

OfficeIMO.Email.Store

Namespace
OfficeIMO.Email.Store
Assembly
OfficeIMO.Email
Source revision
be6c300e4ab1 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, bool includeDescendants = false, bool includeAssociatedItems = false, bool includeOrphanedItems = false, OutlookItemKind? itemKind = null, string? subjectContains = null, string? senderContains = null, DateTimeOffset? since = null, DateTimeOffset? before = null, bool? hasAttachments = null, bool? isRead = null, int maxItemsScanned = 1000000, int maxResults = 1000) #

Creates a bounded store query.

Parameters

folderId string? = null optional
includeDescendants bool = false optional
includeAssociatedItems bool = false optional
includeOrphanedItems bool = false optional
itemKind OfficeIMO.Email.OutlookItemKind? = null optional
subjectContains string? = null optional
senderContains string? = null optional
since System.DateTimeOffset? = null optional
before System.DateTimeOffset? = null optional
hasAttachments bool? = null optional
isRead bool? = null optional
maxItemsScanned int = 1000000 optional
maxResults int = 1000 optional

Properties

public string? FolderId { get; } #

Optional folder identifier. Null searches every folder.

public bool IncludeDescendants { get; } #

Whether descendants of EmailStoreQuery.FolderId are included.

public bool IncludeAssociatedItems { get; } #

Whether folder-associated information items are searched.

public bool 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 bool? HasAttachments { get; } #

Optional declared attachment-presence filter.

public bool? IsRead { get; } #

Optional read-state filter.

public int MaxItemsScanned { get; } #

Maximum references whose summaries may be evaluated.

public int MaxResults { get; } #

Maximum matching results returned.