共用方式為


TaxTotal Property

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

Gets the total tax associated with the current order.

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

Syntax

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

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

Property Value

Type: System..::.Decimal
The tax total associated with 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

Returns the total tax associated with the current order. Sums the tax total for all OrderForm objects in the current OrderFormCollection.

Permissions

See Also

Reference

OrderGroup Class

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace