Partilhar via


ICartCollection.CreateAsync(Cart) Method

Definition

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.

Implements

Applies to