Dynamicweb.eCommerce.Products Namespace > Product Class > Details Property : Details Property |
'Declaration
Public Overloads Property Details As DetailCollection
public DetailCollection Details {get; set;}
class MyPage : System.Web.UI.Page { private Product objProduct; private Product objProductNew; private void SaveDetails() { foreach (Dynamicweb.eCommerce.Products.Detail det in objProduct.Details) { // create new detail and add to product det.Save("", objProductNew); } } }
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