StoreDurationUnit StoreDurationUnit StoreDurationUnit StoreDurationUnit StoreDurationUnit Enum


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

public : enum class StoreDurationUnit
enum class winrt::Windows::Services::Store::StoreDurationUnit : int32_t
public enum StoreDurationUnit
Public Enum StoreDurationUnit
var value =;

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Services.Store.StoreContract (introduced v1)


Day Day Day Day Day 2

The period is defined in days.

Hour Hour Hour Hour Hour 1

The period is defined in hours.

Minute Minute Minute Minute Minute 0

The period is defined in minutes.

Month Month Month Month Month 4

The period is defined in months.

Week Week Week Week Week 3

The period is defined in weeks.

Year Year Year Year Year 5

The period is defined in years.


The StoreSubscriptionInfo.BillingPeriodUnit property returns these values.