Share via


DeviceAccountMailAgeFilter Enum

Definition

Specifies how many days of email to keep on the client.

public enum class DeviceAccountMailAgeFilter
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class DeviceAccountMailAgeFilter
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum DeviceAccountMailAgeFilter
var value = Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountMailAgeFilter.all
Public Enum DeviceAccountMailAgeFilter
Inheritance
DeviceAccountMailAgeFilter
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
userDataAccountsProvider

Fields

Name Value Description
All 0

Keep all the email.

Last1Day 1

Keep email from the last day.

Last3Days 2

Keep email from the last 3 days.

Last7Days 3

Keep email from the last 7 days.

Last14Days 4

Keep email from the last 14 days.

Last30Days 5

Keep email from the last 30 days.

Last90Days 6

Keep email from the last 90 days.

Applies to