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
- parentOrderForm
Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderForm
A OrderForm that is the parent of this collection instance.
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
- 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.