Jaa


PlacedPrice Property

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

Gets or sets the unit price of the line item at the time it was added to an order group.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Property PlacedPrice As Decimal
'Usage
Dim instance As LineItem
Dim value As Decimal

value = instance.PlacedPrice

instance.PlacedPrice = value
public decimal PlacedPrice { get; set; }
public:
property Decimal PlacedPrice {
    Decimal get ();
    void set (Decimal value);
}
public function get PlacedPrice () : decimal
public function set PlacedPrice (value : decimal)

Property Value

Type: System..::.Decimal
The unit price of the line item when it was added to an OrderGroup. Cannot be less than zero.

Exceptions

Exception Condition
ArgumentException

The value being set is less than zero. Assign PlacedPrice a value greater than or equal to zero to prevent this exception.

Remarks

PlacedPrice can be used to inform a customer if the price in the catalog has changed since it was added to an OrderGroup.

Permissions

See Also

Reference

LineItem Class

LineItem Members

Microsoft.CommerceServer.Runtime.Orders Namespace