다음을 통해 공유


InventoryOptions Constructor (Boolean, Boolean, Boolean, String)

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, _
    propertiesToReturn As String _
)
'Usage
Dim filterOutOfStockSkus As Boolean
Dim filterBackorderableSkus As Boolean
Dim filterPreorderableSkus As Boolean
Dim propertiesToReturn As String

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

Parameters

  • propertiesToReturn
    Type: System..::.String
    A string containing the properties that should be returned from the inventory system.

Remarks

Stores the inventory options.

Permissions

See Also

Reference

InventoryOptions Class

InventoryOptions Members

InventoryOptions Overload

Microsoft.CommerceServer.Inventory Namespace