Partilhar via


AllowBackordersAndPreorders Property

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

Gets or sets a value indicating whether the customer allows back orders and pre orders.

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

Syntax

'Declaration
Public Property AllowBackordersAndPreorders As Boolean
'Usage
Dim instance As LineItem
Dim value As Boolean

value = instance.AllowBackordersAndPreorders

instance.AllowBackordersAndPreorders = value
public bool AllowBackordersAndPreorders { get; set; }
public:
property bool AllowBackordersAndPreorders {
    bool get ();
    void set (bool value);
}
public function get AllowBackordersAndPreorders () : boolean
public function set AllowBackordersAndPreorders (value : boolean)

Property Value

Type: System..::.Boolean
true if back orders and pre-orders are allowed; otherwise, false

Remarks

Stores a value indicating whether the customer allows back orders and pre orders. Stores a true if back orders and pre-orders are allowed; otherwise, false

Permissions

See Also

Reference

LineItem Class

LineItem Members

Microsoft.CommerceServer.Runtime.Orders Namespace