Clear Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Removes all objects from the current PaymentMethodCollection 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 PaymentMethodCollection
instance.Clear()
public void Clear()
public:
void Clear()
public function Clear()
Remarks
Deletes all elements in the PaymentMethodCollection collection. Clears all payment 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.