Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- parentOrderForm
Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderForm
The parent OrderForm instance for this collection.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
PromoCodeRecordCollection Class