LineItemCollection Class (BCL)
Encapsulates the collection of line items associated with the order form.
System.Object
**** Microsoft.CommerceServer.Runtime.Orders.LineItemCollection
Public Instance Methods
Method | Description |
---|---|
Add(LineItem) | Adds the specified line item to the collection. |
CopyTo(Array, Int32) | Copies the line items to an array, starting at a particular array index. |
GetEnumerator | Retrieves an enumerator on this collection. |
IndexOf(String, String, String) | Returns the index of the specified item in the line item collection. |
Remove(LineItem) | Removes the specified line item from the collection. |
Remove(Int32) | Removes the specified line item from the collection, based on index the line item. |
Public Instance Properties
Property | Description |
---|---|
Count | Gets the number of elements contained in the collection. |
IsSynchronized | Gets a value indicating whether access to the collection is synchronized. This implementation always returns False. |
Item | Retrieves a LineItemCollection instance by index. |
ParentOrderForm | Retrieves the order form owning this line item. |
SyncRoot | Gets an object that can be used to synchronize access to the collection. This implementation always returns the current instance of the LineItemCollection object. |
Requirements
Namespace: Microsoft.CommerceServer.Runtime.Orders
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Runtime.dll
Copyright © 2005 Microsoft Corporation.
All rights reserved.