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
- 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
ShippingMethodCollection Class