LineItem Constructor (String, String, String, Int32) (BCL)
Use this method to create a new instance of the LineItem class with the specified parameters.
Definition
[Visual Basic .NET]
Public Sub New( _ByValproductCatalog As System.String, _
ByValproductID As System.String, _
ByValproductVariantID As System.String, _
ByValquantity As System.Int32 _
)
[C#]
public LineItem(System.StringproductCatalog,
System.StringproductID,
System.StringproductVariantID,
System.Int32quantity);
Parameters
[Visual Basic .NET]
- productCatalog
The product catalog to which this line item belongs. - productID
Product ID for the line item. - productVariantID
Product Variant ID for the line item. - quantity
The number of items being added to the basket.
[C#]
- productCatalog
The product catalog to which this line item belongs. - productID
Product ID for the line item. - productVariantID
Product Variant ID for the line item. - quantity
The number of items being added to the basket.
Remarks
Throws ArgumentNullException if the productCatalog or productID parameters are null.
Requirements
Namespace: Microsoft.CommerceServer.Runtime.Orders
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Runtime.dll
Copyright © 2005 Microsoft Corporation.
All rights reserved.