Dela via


EmailQueryOptions Class

Definition

Represents the options selected for an email mailbox query.

public ref class EmailQueryOptions sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Email.IEmailQueryOptionsFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class EmailQueryOptions final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Email.IEmailQueryOptionsFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class EmailQueryOptions final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Email.IEmailQueryOptionsFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class EmailQueryOptions
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Email.IEmailQueryOptionsFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class EmailQueryOptions
function EmailQueryOptions(text, fields)
Public NotInheritable Class EmailQueryOptions
Inheritance
Object Platform::Object IInspectable EmailQueryOptions
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
email emailSystem

Constructors

EmailQueryOptions()

Instantiates a new instance of the class.

EmailQueryOptions(String, EmailQuerySearchFields)

Instantiates a new instance of the class.

EmailQueryOptions(String)

Instantiates a new instance of the class.

Properties

FolderIds

Gets the identifiers for the folders in which to search.

Kind

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

SortDirection

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

SortProperty

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

TextSearch

Gets the text to search for.

Applies to