Dynamicweb 8 Documentation
Clone Method (Payment)
Example 

Clones this instance.
Syntax
'Declaration
 
Public Function Clone() As Payment
public Payment Clone()
Example
class MyPage : System.Web.UI.Page
{
   private Payment payment;
   public void DoSave()
   {
       Payment p = new Payment();
       p = payment.Clone();
       p.ID = string.Empty;
       p.Save(p.ID);
   }
}
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

Payment Class
Payment Members

Send Feedback