EmailQueryOptions EmailQueryOptions EmailQueryOptions EmailQueryOptions Class

Definition

Represents the options selected for an email mailbox query.

public : sealed class EmailQueryOptions : IEmailQueryOptionspublic sealed class EmailQueryOptions : IEmailQueryOptionsPublic NotInheritable Class EmailQueryOptions Implements IEmailQueryOptions// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

EmailQueryOptions() EmailQueryOptions() EmailQueryOptions() EmailQueryOptions()

EmailQueryOptions(String) EmailQueryOptions(String) EmailQueryOptions(String) EmailQueryOptions(String)

Instantiates a new instance of the class.

public : EmailQueryOptions(PlatForm::String text)public EmailQueryOptions(String text)Public Sub New(text As String)// You can use this method in JavaScript.
Parameters
text
PlatForm::String String String String

The text for which to search.

See Also

EmailQueryOptions(String, EmailQuerySearchFields) EmailQueryOptions(String, EmailQuerySearchFields) EmailQueryOptions(String, EmailQuerySearchFields) EmailQueryOptions(String, EmailQuerySearchFields)

Instantiates a new instance of the class.

public : EmailQueryOptions(PlatForm::String text, EmailQuerySearchFields fields)public EmailQueryOptions(String text, EmailQuerySearchFields fields)Public Sub New(text As String, fields As EmailQuerySearchFields)// You can use this method in JavaScript.
Parameters
text
PlatForm::String String String String

The text for which to search.

See Also

Properties

FolderIds FolderIds FolderIds FolderIds

Gets the identifiers for the folders in which to search.

public : IVector<string> FolderIds { get; }public IList<string> FolderIds { get; }Public ReadOnly Property FolderIds As IList<string>// You can use this property in JavaScript.
Value
IVector<PlatForm::String> IList<string> IList<string> IList<string>

The identifiers for the folders in which to search.

Kind Kind Kind Kind

Gets or sets the kind of emails for which to query.

public : EmailQueryKind Kind { get; set; }public EmailQueryKind Kind { get; set; }Public ReadWrite Property Kind As EmailQueryKind// You can use this property in JavaScript.
Value
EmailQueryKind EmailQueryKind EmailQueryKind EmailQueryKind

The kind of emails for which to query.

SortDirection SortDirection SortDirection SortDirection

Gets or sets the direction of the sort for the query results.

public : EmailQuerySortDirection SortDirection { get; set; }public EmailQuerySortDirection SortDirection { get; set; }Public ReadWrite Property SortDirection As EmailQuerySortDirection// You can use this property in JavaScript.

SortProperty SortProperty SortProperty SortProperty

Gets or sets a Boolean value indicating whether the query results should be sorted.

public : EmailQuerySortProperty SortProperty { get; set; }public EmailQuerySortProperty SortProperty { get; set; }Public ReadWrite Property SortProperty As EmailQuerySortProperty// You can use this property in JavaScript.
Value
EmailQuerySortProperty EmailQuerySortProperty EmailQuerySortProperty EmailQuerySortProperty

A Boolean value indicating whether the query results should be sorted.

TextSearch TextSearch TextSearch TextSearch

Gets the text to search for.

public : EmailQueryTextSearch TextSearch { get; }public EmailQueryTextSearch TextSearch { get; }Public ReadOnly Property TextSearch As EmailQueryTextSearch// You can use this property in JavaScript.