Share via


SubTotal Property

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

Gets the sub total amount for the current order.

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

Syntax

'Declaration
Public ReadOnly Property SubTotal As Decimal
'Usage
Dim instance As OrderGroup
Dim value As Decimal

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

Property Value

Type: System..::.Decimal
The sub total for the current order.

Exceptions

Exception Condition
InvalidOperationException

The order group has been disposed, either directly or by conversion from an OrderTemplate to a Basket or a Basket to a PurchaseOrder.

Remarks

Sums the sub total for all OrderForm objects in the current OrderFormCollection.

Permissions

See Also

Reference

OrderGroup Class

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace