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
- filterOutOfStockSkus
Type: System..::.Boolean
A FilterOutOfStockSkus that specifies whether products that are out of stock are filtered.
- filterBackorderableSkus
Type: System..::.Boolean
A FilterBackorderableSkus that specifies whether products that can be back ordered are filtered.
- filterPreorderableSkus
Type: System..::.Boolean
A FilterPreorderableSkus that specifies whether products that can be preordered are filtered.
Remarks
Stores the inventory options.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.