Freigeben über


Quantity Property

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

Gets or sets the inventory quantity.

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

Syntax

'Declaration
Public Property Quantity As Decimal
'Usage
Dim instance As InventorySku
Dim value As Decimal

value = instance.Quantity

instance.Quantity = value
public decimal Quantity { get; set; }
public:
property Decimal Quantity {
    Decimal get ();
    void set (Decimal value);
}
public function get Quantity () : decimal
public function set Quantity (value : decimal)

Property Value

Type: System..::.Decimal
The inventory quantity.

Remarks

Indicates how much of the product is available.

Permissions

See Also

Reference

InventorySku Class

InventorySku Members

Microsoft.CommerceServer.Inventory Namespace