StoreDurationUnit Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines values that represent the units of a trial period or billing period for a subscription.
public enum class StoreDurationUnit
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 65536)]
enum class 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 requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Services.Store.StoreContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
Minute | 0 | The period is defined in minutes. |
Hour | 1 | The period is defined in hours. |
Day | 2 | The period is defined in days. |
Week | 3 | The period is defined in weeks. |
Month | 4 | The period is defined in months. |
Year | 5 | The period is defined in years. |
Remarks
The StoreSubscriptionInfo.BillingPeriodUnit property returns these values.