Partager via


PromoCodeRecords Property

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

Gets the marketing promotion code records collection associated with the current OrderForm instance.

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

Syntax

'Declaration
Public ReadOnly Property PromoCodeRecords As PromoCodeRecordCollection
'Usage
Dim instance As OrderForm
Dim value As PromoCodeRecordCollection

value = instance.PromoCodeRecords
public PromoCodeRecordCollection PromoCodeRecords { get; }
public:
property PromoCodeRecordCollection^ PromoCodeRecords {
    PromoCodeRecordCollection^ get ();
}
public function get PromoCodeRecords () : PromoCodeRecordCollection

Property Value

Type: Microsoft.CommerceServer.Runtime.Orders..::.PromoCodeRecordCollection
The PromoCodeRecordCollection containing the marketing promotion code records collection associated with the current instance.

Remarks

Returns the marketing promotion code records collection associated with the current OrderForm instance. PromoCodeRecords is calculated during execution of the pipeline if the promo code pipeline component is contained within the pipeline.

Permissions

See Also

Reference

OrderForm Class

OrderForm Members

Microsoft.CommerceServer.Runtime.Orders Namespace