Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.