IndexOf Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Returns the index of the LineItem with the specified identifier.
Overload List
Name | Description | |
---|---|---|
IndexOf(Guid) | Returns the zero based index of the LineItem with the specified identifier. | |
IndexOf(LineItem) | Returns the zero based index of the specified LineItem. | |
IndexOf(String, String, String) | Returns the zero based index of the LineItem with the specified product catalog, product identifier, and product variant identifier. |
Top
Remarks
Searches for the specified LineItem and returns the zero-based index of the first occurrence within the entire LineItemCollection. Returns -1 if the specified object is not found.