Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- payment
Type: Microsoft.CommerceServer.Runtime.Orders..::.Payment
The Payment to remove. May not be nullNothingnullptra null reference (Nothing in Visual Basic).
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
- 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.