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.
- paymentMethodName
Type: System..::.String
The name of the payment method.
- description
Type: System..::.String
The description of the payment method.
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
- 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
PaymentMethodDataSet..::.PaymentMethodDataTable Class