Clear Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Clears all ShippingDiscountRecord objects from the ShippingDiscountCollection.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub Clear
'Usage
Dim instance As ShippingDiscountCollection
instance.Clear()
public void Clear()
public:
void Clear()
public function Clear()
Remarks
Use this method to purge all the discounts from the collection. Successfully calling Clear updates LastModified.
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.
See Also
Reference
ShippingDiscountCollection Class