Dynamicweb 8 Documentation
Copy Method (Price)
Example 

Copies this instance.
Syntax
'Declaration
 
Public Function Copy() As Price
public Price Copy()
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.Copy();
       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