Jaa


Clear Method

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

Clears all of the Promocode string from the current PromoCodeStringCollection.

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

Syntax

'Declaration
Public Sub Clear
'Usage
Dim instance As PromoCodeStringCollection

instance.Clear()
public void Clear()
public:
virtual void Clear() sealed
public final function Clear()

Implements

IList..::.Clear()()()

Remarks

Use this method to purge all the promo code strings from the collection. Successfully calling Clear updates LastModified.

Permissions

See Also

Reference

PromoCodeStringCollection Class

PromoCodeStringCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace