Delen via


AddCountryCodesRow Method (String, String, String, DateTime, String, DateTime)

Adds a RegionCodeDataSet..::.CountryCodesRow DataRow to the CountryCodesDataTable using the specified values.

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

Syntax

'Declaration
Public Function AddCountryCodesRow ( _
    Name As String, _
    Code As String, _
    Description As String, _
    LastModified As DateTime, _
    ModifiedBy As String, _
    Created As DateTime _
) As RegionCodeDataSet..::.CountryCodesRow
'Usage
Dim instance As RegionCodeDataSet..::.CountryCodesDataTable
Dim Name As String
Dim Code As String
Dim Description As String
Dim LastModified As DateTime
Dim ModifiedBy As String
Dim Created As DateTime
Dim returnValue As RegionCodeDataSet..::.CountryCodesRow

returnValue = instance.AddCountryCodesRow(Name, _
    Code, Description, LastModified, _
    ModifiedBy, Created)
public RegionCodeDataSet..::.CountryCodesRow AddCountryCodesRow(
    string Name,
    string Code,
    string Description,
    DateTime LastModified,
    string ModifiedBy,
    DateTime Created
)
public:
RegionCodeDataSet..::.CountryCodesRow^ AddCountryCodesRow(
    String^ Name, 
    String^ Code, 
    String^ Description, 
    DateTime LastModified, 
    String^ ModifiedBy, 
    DateTime Created
)
public function AddCountryCodesRow(
    Name : String, 
    Code : String, 
    Description : String, 
    LastModified : DateTime, 
    ModifiedBy : String, 
    Created : DateTime
) : RegionCodeDataSet..::.CountryCodesRow

Parameters

Return Value

Type: Microsoft.CommerceServer.Orders..::.RegionCodeDataSet..::.CountryCodesRow
A new RegionCodeDataSet..::.CountryCodesRow row.

Remarks

Adds a new RegionCodeDataSet..::.CountryCodesRow to the RegionCodeDataSet..::.CountryCodesDataTable. The RegionCodeDataSet object must be saved before these changes will be persisted to the database.

Permissions

See Also

Reference

RegionCodeDataSet..::.CountryCodesDataTable Class

RegionCodeDataSet..::.CountryCodesDataTable Members

AddCountryCodesRow Overload

Microsoft.CommerceServer.Orders Namespace