ICartCollection.CreateAsync(Cart) Method
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.
Asynchronously creates a new cart.
public System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.Carts.Cart> CreateAsync (Microsoft.Store.PartnerCenter.Models.Carts.Cart newCart);
abstract member CreateAsync : Microsoft.Store.PartnerCenter.Models.Carts.Cart -> System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.Carts.Cart>
Public Function CreateAsync (newCart As Cart) As Task(Of Cart)
Parameters
- newCart
- Cart
A cart item to be created.
Returns
The new cart that was just created.