Bagikan melalui


Clear Method

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

Removes all objects from the current ShippingMethodCollection object.

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

Syntax

'Declaration
Public Sub Clear
'Usage
Dim instance As ShippingMethodCollection

instance.Clear()
public void Clear()
public:
void Clear()
public function Clear()

Remarks

Deletes all elements in the ShippingMethodCollection collection. Clears all shipping methods from the current collection. After you call Clear, the Count of the collection will be set to zero.

Permissions

See Also

Reference

ShippingMethodCollection Class

ShippingMethodCollection Members

Microsoft.CommerceServer.Orders Namespace