Dela via


EmailQuerySearchFields Enum

Definition

Defines the field(s) by which to search a collection of email messages. Use the OR operator to combine these values together into a single bit field.

This enumeration supports a bitwise combination of its member values.

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

No search field defined.

Subject 1

Search by subject field.

Sender 2

Search by sender field.

Preview 4

Search by preview text field.

Recipients 8

Search by members of the recipient list.

All 4294967295

Search by all searchable fields.

Applies to