StoreDurationUnit Enum

Definition

Defines values that represent the units of a trial period or billing period for a subscription.

public enum class StoreDurationUnit
enum StoreDurationUnit
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 65536)]
public enum StoreDurationUnit
var value = Windows.Services.Store.StoreDurationUnit.minute
Public Enum StoreDurationUnit
Inheritance
StoreDurationUnit
Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Services.Store.StoreContract (introduced in v1.0)

Fields

Day 2

The period is defined in days.

Hour 1

The period is defined in hours.

Minute 0

The period is defined in minutes.

Month 4

The period is defined in months.

Week 3

The period is defined in weeks.

Year 5

The period is defined in years.

Remarks

The StoreSubscriptionInfo.BillingPeriodUnit property returns these values.

Applies to