Share via


LineItemCollection Constructor

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

Parameters

Remarks

A LineItemCollection will always be associated with an OrderForm object.

LineItemCollection class is a sealed implementation class that represents a collection of LineItem objects.

Permissions

See Also

Reference

LineItemCollection Class

LineItemCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace