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.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the LineItem class.
Overload List
Name | Description | |
---|---|---|
![]() |
LineItem()()() | Initializes a new instance of the LineItem class using default empty strings, nullNothingnullptra null reference (Nothing in Visual Basic) values, and zero values. |
![]() |
LineItem(SerializationInfo, StreamingContext) | Initializes a new instance of the LineItem class based on the specified serialization information and streaming context. |
![]() |
LineItem(String, String, String, Decimal) | Initializes a new instance of the LineItem class using the specified product catalog, product ID, product variant ID, and quantity information. |
Top
Remarks
LineItem represents a single line item. LineItem implements IEnumerable to allow easy enumeration over all weakly-typed properties of the line item.
The order capture system assigns a unique integer to every line item for every OrderForm. Upon removal of an item, these integer index values are recomputed. Line items are created as stand-alone entities, and are then added to the LineItemCollection.