Remove Method (Payment)

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

Removes the specified Payment from the current payment collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    payment As Payment _
)
'Usage
Dim instance As PaymentCollection
Dim payment As Payment

instance.Remove(payment)
public void Remove(
    Payment payment
)
public:
void Remove(
    Payment^ payment
)
public function Remove(
    payment : Payment
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

payment is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Removes the specified Payment from the collection. Successfully calling Remove updates LastModified.

Permissions

See Also

Reference

PaymentCollection Class

PaymentCollection Members

Remove Overload

Microsoft.CommerceServer.Runtime.Orders Namespace