.NET Framework Class Library
LineItem..::.PlacedPrice Property

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

Visual Basic (Declaration)
Public Property PlacedPrice As Decimal
Visual Basic (Usage)
Dim instance As LineItem
Dim value As Decimal

value = instance.PlacedPrice

instance.PlacedPrice = value
C#
public decimal PlacedPrice { get; set; }
Visual C++
public:
property Decimal PlacedPrice {
    Decimal get ();
    void set (Decimal value);
}
JScript
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

ExceptionCondition
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

Page view tracker