Share via


PromoCodeStringCollection Constructor

Initializes a new instance of the PromoCodeStringCollection class with the specified parent order form.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Sub New ( _
    parentOrderForm As OrderForm _
)
'Usage
Dim parentOrderForm As OrderForm

Dim instance As New PromoCodeStringCollection(parentOrderForm)
public PromoCodeStringCollection(
    OrderForm parentOrderForm
)
public:
PromoCodeStringCollection(
    OrderForm^ parentOrderForm
)
public function PromoCodeStringCollection(
    parentOrderForm : OrderForm
)

Parameters

Remarks

Manages a collection of Promotion Code strings. A Promotion Code string will always be associated with an OrderForm object.

This specialized class works with OrderForm to ensure changes made to the PromoCodes objects update the LastModified and LastModified date on the OrderForm and its parent OrderGroup.

Permissions

See Also

Reference

PromoCodeStringCollection Class

PromoCodeStringCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace