Remove Method (Int32)

Removes the specified Payment from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    index As Integer _
)
'Usage
Dim instance As PaymentCollection
Dim index As Integer

instance.Remove(index)
public void Remove(
    int index
)
public:
void Remove(
    int index
)
public function Remove(
    index : int
)

Parameters

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is out of range of the current collection.

Remarks

Removes the specified Payment from the collection. If there are no payments, the function returns with no exception.

Successfully calling Remove updates LastModified, except when there are no payments or an exception is thrown.

Permissions

See Also

Reference

PaymentCollection Class

PaymentCollection Members

Remove Overload

Microsoft.CommerceServer.Runtime.Orders Namespace