Partager via


AddShippingMethodRow Method (String, String, String)

Adds a ShippingMethodDataSet..::.ShippingMethodRow DataRow to the ShippingMethodDataSet..::.ShippingMethodDataTable using the specified values.

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

Syntax

'Declaration
Public Function AddShippingMethodRow ( _
    languageId As String, _
    shippingMethodName As String, _
    description As String _
) As ShippingMethodDataSet..::.ShippingMethodRow
'Usage
Dim instance As ShippingMethodDataSet..::.ShippingMethodDataTable
Dim languageId As String
Dim shippingMethodName As String
Dim description As String
Dim returnValue As ShippingMethodDataSet..::.ShippingMethodRow

returnValue = instance.AddShippingMethodRow(languageId, _
    shippingMethodName, description)
public ShippingMethodDataSet..::.ShippingMethodRow AddShippingMethodRow(
    string languageId,
    string shippingMethodName,
    string description
)
public:
ShippingMethodDataSet..::.ShippingMethodRow^ AddShippingMethodRow(
    String^ languageId, 
    String^ shippingMethodName, 
    String^ description
)
public function AddShippingMethodRow(
    languageId : String, 
    shippingMethodName : String, 
    description : String
) : ShippingMethodDataSet..::.ShippingMethodRow

Parameters

  • languageId
    Type: System..::.String
    Language identifier for the language in which description is needed.

Return Value

Type: Microsoft.CommerceServer.Orders..::.ShippingMethodDataSet..::.ShippingMethodRow
A new ShippingMethodDataSet..::.ShippingMethodRow.

Remarks

Adds a ShippingMethodDataSet..::.ShippingMethodRow DataRow to the ShippingMethodDataSet..::.ShippingMethodDataTable

The ShippingMethodDataSet object must be saved before these changes will be persisted to the database.

Permissions

See Also

Reference

ShippingMethodDataSet..::.ShippingMethodDataTable Class

ShippingMethodDataSet..::.ShippingMethodDataTable Members

AddShippingMethodRow Overload

Microsoft.CommerceServer.Orders Namespace