Dynamicweb 8 Documentation
Clone Method (Price)
Example 

Clones this instance.
Syntax
'Declaration
 
Public Function Clone() As Price
public Price Clone()
Example
class MyPage : System.Web.UI.Page
{
   private Price price;
   
   private void Page_Load(System.Object sender, System.EventArgs e)
   {
       price = (Price)Session["Ecom.Backend.Price"];
   }
 
   public Price DoSave()
   {
       Price p = new Price();
       p = price.Clone();
       p.Save(p.ID, p.ProductID, "");
       return p;
   }
}
Requirements

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

See Also

Reference

Price Class
Price Members

Send Feedback