Jaa


Remove Method (ShippingDiscountRecord)

Removes the specified ShippingDiscountRecord from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    shippingDiscountRecord As ShippingDiscountRecord _
)
'Usage
Dim instance As ShippingDiscountCollection
Dim shippingDiscountRecord As ShippingDiscountRecord

instance.Remove(shippingDiscountRecord)
public void Remove(
    ShippingDiscountRecord shippingDiscountRecord
)
public:
void Remove(
    ShippingDiscountRecord^ shippingDiscountRecord
)
public function Remove(
    shippingDiscountRecord : ShippingDiscountRecord
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

Remarks

Removes the specified ShippingDiscountRecord from the collection.

Successfully calling Remove updates LastModified.

Permissions

See Also

Reference

ShippingDiscountCollection Class

ShippingDiscountCollection Members

Remove Overload

Microsoft.CommerceServer.Runtime.Orders Namespace