Condividi tramite


AddPaymentMethodRow Method (String, String, String)

Adds a PaymentMethodDataSet..::.PaymentMethodRow DataRow to the PaymentMethodDataTable using the specified values.

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

Syntax

'Declaration
Public Function AddPaymentMethodRow ( _
    languageId As String, _
    paymentMethodName As String, _
    description As String _
) As PaymentMethodDataSet..::.PaymentMethodRow
'Usage
Dim instance As PaymentMethodDataSet..::.PaymentMethodDataTable
Dim languageId As String
Dim paymentMethodName As String
Dim description As String
Dim returnValue As PaymentMethodDataSet..::.PaymentMethodRow

returnValue = instance.AddPaymentMethodRow(languageId, _
    paymentMethodName, description)
public PaymentMethodDataSet..::.PaymentMethodRow AddPaymentMethodRow(
    string languageId,
    string paymentMethodName,
    string description
)
public:
PaymentMethodDataSet..::.PaymentMethodRow^ AddPaymentMethodRow(
    String^ languageId, 
    String^ paymentMethodName, 
    String^ description
)
public function AddPaymentMethodRow(
    languageId : String, 
    paymentMethodName : String, 
    description : String
) : PaymentMethodDataSet..::.PaymentMethodRow

Parameters

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

Return Value

Type: Microsoft.CommerceServer.Orders..::.PaymentMethodDataSet..::.PaymentMethodRow
A new PaymentMethodDataSet..::.PaymentMethodRow.

Remarks

Adds the new PaymentMethodDataSet..::.PaymentMethodRow to the PaymentMethodDataSet..::.PaymentMethodDataTable.

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

Permissions

See Also

Reference

PaymentMethodDataSet..::.PaymentMethodDataTable Class

PaymentMethodDataSet..::.PaymentMethodDataTable Members

AddPaymentMethodRow Overload

Microsoft.CommerceServer.Orders Namespace