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.
- shippingMethodName
Type: System..::.String
The name of the shipping method.
- description
Type: System..::.String
The description of the shipping method.
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
- 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
ShippingMethodDataSet..::.ShippingMethodDataTable Class