共用方式為


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

See Also

Reference

PaymentMethodCollection Class

PaymentMethodCollection Members

Microsoft.CommerceServer.Orders Namespace