Partager via


OrderForms Property

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

Gets the order form collection for the current order.

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

Syntax

'Declaration
Public ReadOnly Property OrderForms As OrderFormCollection
'Usage
Dim instance As OrderGroup
Dim value As OrderFormCollection

value = instance.OrderForms
public OrderFormCollection OrderForms { get; }
public:
property OrderFormCollection^ OrderForms {
    OrderFormCollection^ get ();
}
public function get OrderForms () : OrderFormCollection

Property Value

Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderFormCollection
The OrderFormCollection associated with the order group instance.

Exceptions

Exception Condition
InvalidOperationException

The order group has been disposed, either directly or by conversion from an OrderTemplate to a Basket or a Basket to a PurchaseOrder.

Remarks

Returns the OrderFormCollection for the current order.

Permissions

See Also

Reference

OrderGroup Class

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace