Partager via


Priority Property

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

Gets or sets the discount priority or rank.

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

Syntax

'Declaration
Public Property Priority As Integer
'Usage
Dim instance As DiscountApplicationRecordBase
Dim value As Integer

value = instance.Priority

instance.Priority = value
public int Priority { get; set; }
public:
property int Priority {
    int get ();
    void set (int value);
}
public function get Priority () : int
public function set Priority (value : int)

Property Value

Type: System..::.Int32
The discount priority or rank.

Remarks

Discounts are applied in the order from the lowest priority (first) to the highest priority (last) in numerical number. Priority value must be greater than or equal to zero.

Permissions

See Also

Reference

DiscountApplicationRecordBase Class

DiscountApplicationRecordBase Members

Microsoft.CommerceServer.Runtime.Orders Namespace