AddToCart Class
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
This web part provides functionality for adding a product to a shopping cart.
Namespace: Microsoft.Dynamics.Retail.SharePoint.Web.WebParts
Assembly: Microsoft.Dynamics.Retail.SP.Web.WebParts (in Microsoft.Dynamics.Retail.SP.Web.WebParts.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Class AddToCart _
Inherits RetailWebPart
'Usage
Dim instance As AddToCart
[ComVisibleAttribute(false)]
public class AddToCart : RetailWebPart
[ComVisibleAttribute(false)]
public ref class AddToCart : public RetailWebPart
Inheritance Hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.Panel
System.Web.UI.WebControls.WebParts.Part
System.Web.UI.WebControls.WebParts.WebPart
Microsoft.Dynamics.Retail.SharePoint.Web.WebParts.RetailWebPart
Microsoft.Dynamics.Retail.SharePoint.Web.WebParts.AddToCart
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.