Dynamicweb.eCommerce.Prices Namespace > Price Class > Delete Method : Delete(ProductCollection) Method |
'Declaration
Public Overloads Function Delete( _ ByVal products As ProductCollection _ ) As String
public string Delete( ProductCollection products )
class MyPage : System.Web.UI.Page { public void DoDelete() { Product prod = new Product(); prod = (Product)Session["Ecom.Backend.Product"]; Dynamicweb.eCommerce.Prices.Price prs = new Dynamicweb.eCommerce.Prices.Price(); prs.Delete(Product.getActiveProducts()); } }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2