Поделиться через


Remove Method (Shipment)

Removes the specified Shipment from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    shipment As Shipment _
)
'Usage
Dim instance As ShipmentCollection
Dim shipment As Shipment

instance.Remove(shipment)
public void Remove(
    Shipment shipment
)
public:
void Remove(
    Shipment^ shipment
)
public function Remove(
    shipment : Shipment
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

Remarks

Removes the specified Shipment from the collection.

Successfully calling Remove updates LastModified.

Permissions

See Also

Reference

ShipmentCollection Class

ShipmentCollection Members

Remove Overload

Microsoft.CommerceServer.Runtime.Orders Namespace