Partager via


AddShippingRatesRow Method (Double, Decimal)

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

Adds a ShippingRatesDataSet..::.ShippingRatesRow DataRow to the ShippingRatesDataTable using the specified values.

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

Syntax

'Declaration
Public Function AddShippingRatesRow ( _
    MaxLimit As Double, _
    Price As Decimal _
) As ShippingRatesDataSet..::.ShippingRatesRow
'Usage
Dim instance As ShippingRatesDataSet..::.ShippingRatesDataTable
Dim MaxLimit As Double
Dim Price As Decimal
Dim returnValue As ShippingRatesDataSet..::.ShippingRatesRow

returnValue = instance.AddShippingRatesRow(MaxLimit, _
    Price)
public ShippingRatesDataSet..::.ShippingRatesRow AddShippingRatesRow(
    double MaxLimit,
    decimal Price
)
public:
ShippingRatesDataSet..::.ShippingRatesRow^ AddShippingRatesRow(
    double MaxLimit, 
    Decimal Price
)
public function AddShippingRatesRow(
    MaxLimit : double, 
    Price : decimal
) : ShippingRatesDataSet..::.ShippingRatesRow

Parameters

Return Value

Type: Microsoft.CommerceServer.Orders..::.ShippingRatesDataSet..::.ShippingRatesRow
A new ShippingRatesDataSet..::.ShippingRatesRow row.

Remarks

Adds a new ShippingRatesDataSet..::.ShippingRatesRow to the ShippingRatesDataSet..::.ShippingRatesDataTable. The ShippingRatesDataSet object must be saved before these changes will be persisted to the database.

Permissions

See Also

Reference

ShippingRatesDataSet..::.ShippingRatesDataTable Class

ShippingRatesDataSet..::.ShippingRatesDataTable Members

AddShippingRatesRow Overload

Microsoft.CommerceServer.Orders Namespace