Share via


EmailQueryKind Enum

Definition

Defines the type of email query.

public enum class EmailQueryKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class EmailQueryKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum EmailQueryKind
var value = Windows.ApplicationModel.Email.EmailQueryKind.all
Public Enum EmailQueryKind
Inheritance
EmailQueryKind
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

Fields

Name Value Description
All 0

The query is for all email messages.

Important 1

The query is for email messages marked Important.

Flagged 2

The query is for email messages that have been flagged.

Unread 3

The query is for all unread email messages.

Read 4

The query is for all email messages that have been read.

Unseen 5

The query is for all email messages that have not yet been seen.

Applies to