Remove Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Removes the LineItem from the collection.

Overload List

  Name Description
ms870946.pubmethod(en-US,CS.70).gif Remove(Int32) Removes the LineItem at the specified index from the current collection.
ms870946.pubmethod(en-US,CS.70).gif Remove(LineItem) Removes the first occurrence of the specified LineItem from the current collection.

Top

Remarks

Removes a specified LineItem from the collection. When a LineItem is removed from the collection, all subsequent LineItem objects move up one index in the collection and the collection count is decremented.

See Also

Reference

LineItemCollection Class

LineItemCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace