Dynamicweb 8 Documentation
Discount Constructor(Product,ProductDiscount,String)

The product.
The product discount.
Name of the sales discount.
Initializes a new instance of the Discount class.
Syntax
'Declaration
 
Public Function New( _ 
   ByRef Product As Product, _ 
   ByRef ProductDiscount As ProductDiscount, _ 
   ByRef SalesDiscountName As String _ 
)
public Discount( 
   ref Product Product,
   ref ProductDiscount ProductDiscount,
   ref string SalesDiscountName 
)

Parameters

Product
The product.
ProductDiscount
The product discount.
SalesDiscountName
Name of the sales discount.
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

Discount Class
Discount Members
Overload List

Send Feedback