Teilen über


PromoCodeRecordCollection Constructor

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Initializes a new instance of the PromoCodeRecordCollection 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 PromoCodeRecordCollection(parentOrderForm)
public PromoCodeRecordCollection(
    OrderForm parentOrderForm
)
public:
PromoCodeRecordCollection(
    OrderForm^ parentOrderForm
)
public function PromoCodeRecordCollection(
    parentOrderForm : OrderForm
)

Parameters

Remarks

Manages a collection of PromoCodeRecord objects. A PromoCodeRecordCollection will always be associated with an OrderForm object.

The PromoCodeRecordCollection class is a concrete implementation class that abstracts a read-only collection of Marketing Promotion Codes (PromoCodeRecord) associated with the order form instance.

Permissions

See Also

Reference

PromoCodeRecordCollection Class

PromoCodeRecordCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace