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
- MaxLimit
Type: System..::.Double
The maximum shipping price.
- Price
Type: System..::.Decimal
The shipping price.
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
- 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.
See Also
Reference
ShippingRatesDataSet..::.ShippingRatesDataTable Class