Share via


InventoryOptions Constructor (Boolean, Boolean, Boolean)

Initializes a new instance of the InventoryOptions class and sets filter parameters.

Namespace:  Microsoft.CommerceServer.Inventory
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Sub New ( _
    filterOutOfStockSkus As Boolean, _
    filterBackorderableSkus As Boolean, _
    filterPreorderableSkus As Boolean _
)
'Usage
Dim filterOutOfStockSkus As Boolean
Dim filterBackorderableSkus As Boolean
Dim filterPreorderableSkus As Boolean

Dim instance As New InventoryOptions(filterOutOfStockSkus, _
    filterBackorderableSkus, filterPreorderableSkus)
public InventoryOptions(
    bool filterOutOfStockSkus,
    bool filterBackorderableSkus,
    bool filterPreorderableSkus
)
public:
InventoryOptions(
    bool filterOutOfStockSkus, 
    bool filterBackorderableSkus, 
    bool filterPreorderableSkus
)
public function InventoryOptions(
    filterOutOfStockSkus : boolean, 
    filterBackorderableSkus : boolean, 
    filterPreorderableSkus : boolean
)

Parameters

Remarks

Stores the inventory options.

Permissions

See Also

Reference

InventoryOptions Class

InventoryOptions Members

InventoryOptions Overload

Microsoft.CommerceServer.Inventory Namespace