Share via


StoreCollectionData Class

Definition

Provides additional data for a product SKU that the user has an entitlement to use.

public ref class StoreCollectionData sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StoreCollectionData final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StoreCollectionData
Public NotInheritable Class StoreCollectionData
Inheritance
Object Platform::Object IInspectable StoreCollectionData
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)

Remarks

The StoreSku.CollectionData property returns an object of this type.

Properties

AcquiredDate

Gets the date on which the product SKU was acquired.

CampaignId

Gets the promotion campaign ID that is associated with the product SKU.

DeveloperOfferId

Gets the developer offer ID that is associated with the product SKU.

EndDate

Gets the end date of the trial for the product SKU, if the SKU is a trial version or a durable add-on that expires after a set duration.

ExtendedJsonData

Gets complete collection data for the product SKU in JSON format.

IsTrial

Gets a value that indicates whether the product SKU is a trial version.

StartDate

Gets the start date of the trial for the product SKU, if the SKU is a trial version or a durable add-on that expires after a set duration.

TrialTimeRemaining

Gets the remaining trial time for the usage-limited trial that is associated with this product SKU.

Applies to