Share via


OrderForm Constructor

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

Initializes a new instance of the OrderForm class with a nullNothingnullptra null reference (Nothing in Visual Basic) name.

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

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New OrderForm()
public OrderForm()
public:
OrderForm()
public function OrderForm()

Remarks

If your site supports more than one OrderForm, it is suggested you call the constructor that takes a name. To determine if your site needs multiple order forms, see OrderForm.

During initialization, a OrderFormId GUID is generated. Created and LastModified will be set to the local time on the local server. For backwards compatibility, Index will precreate _Basket_Errors : SimpleList, _Purchase_Errors : SimpleList, and _Verify_With : Dictionary.

Permissions

See Also

Reference

OrderForm Class

OrderForm Members

OrderForm Overload

Microsoft.CommerceServer.Runtime.Orders Namespace