API Reference
EmailStoreQuery
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
- Constructor EmailStoreContentQuery.EmailStoreContentQuery
- Method EmailStoreSession.Search
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
- includeDescendants System.Boolean = false
- includeAssociatedItems System.Boolean = false
- includeOrphanedItems System.Boolean = false
- itemKind System.Nullable{OfficeIMO.Email.OutlookItemKind} = null
- subjectContains System.String = null
- senderContains System.String = null
- since System.Nullable{System.DateTimeOffset} = null
- before System.Nullable{System.DateTimeOffset} = null
- hasAttachments System.Nullable{System.Boolean} = null
- isRead System.Nullable{System.Boolean} = null
- maxItemsScanned System.Int32 = 1000000
- maxResults System.Int32 = 1000
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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.