Previous in Contents Next in Contents

IOrderForm::ClearOrderForm

The ClearOrderForm method empties the OrderForm Dictionary, then creates new instances of the OrderForm's internal collections, which include the ISimpleList Items collection, the ISimpleList _Basket_Errors collection, the ISimpleList _Purchase_Errors collection, and the verify_with collection. These collections are empty.

Syntax

HRESULT ClearOrderForm();

Parameters

None.

Include File

<commerce.h>

Return Value

If ClearOrderForm successfully instantiates these ISimpleList pointers, ClearOrderForm returns S_OK; otherwise, E_FAIL.

Related Topic

IOrderForm::ClearItems


© 1997-2000 Microsoft Corporation. All rights reserved.