StoreProductQueryResult
StoreProductQueryResult
StoreProductQueryResult
StoreProductQueryResult
Class
Definition
Provides response data for a request to retrieve details about products that can be purchased from within the current app.
public : sealed class StoreProductQueryResult : IStoreProductQueryResultpublic sealed class StoreProductQueryResult : IStoreProductQueryResultPublic NotInheritable Class StoreProductQueryResult Implements IStoreProductQueryResult// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Services.Store.StoreContract (introduced v1)
|
Remarks
The following methods of the StoreContext class return an object of this type:
Properties
ExtendedError ExtendedError ExtendedError ExtendedError
Gets the error code for the request, if the operation encountered an error.
public : HResult ExtendedError { get; }public Exception ExtendedError { get; }Public ReadOnly Property ExtendedError As Exception// You can use this property in JavaScript.
- Value
- HResult Exception Exception Exception
The error code for the request.
- See Also
Products Products Products Products
Gets the collection of products returned by the request.
public : IMapView<string, StoreProduct> Products { get; }public IReadOnlyDictionary<string, StoreProduct> Products { get; }Public ReadOnly Property Products As IReadOnlyDictionary<string, StoreProduct>// You can use this property in JavaScript.
- Value
- IMapView<PlatForm::String, StoreProduct> IReadOnlyDictionary<string, StoreProduct> IReadOnlyDictionary<string, StoreProduct> IReadOnlyDictionary<string, StoreProduct>
A dictionary of key and value pairs, where each key is a Store ID for the add-on and the value is a StoreProduct object that represents the add-on.