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.
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
- shipment
Type: Microsoft.CommerceServer.Runtime.Orders..::.Shipment
The Shipment to be removed. May not be nullNothingnullptra null reference (Nothing in Visual Basic).
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
- 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.