AddInventoryCatalog Method (String, String, DateTime, DateTime, Byte[])

Add an InventoryCatalog to this InventoryCatalogsDataSet..::.InventoryCatalog. and return an InventoryCatalog.

Namespace:  Microsoft.CommerceServer.Inventory
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Function AddInventoryCatalog ( _
    InventoryCatalogName As String, _
    InventoryCatalogDescription As String, _
    DateCreated As DateTime, _
    LastModified As DateTime, _
    Timestamp As Byte() _
) As InventoryCatalogsDataSet..::.InventoryCatalog
'Usage
Dim instance As InventoryCatalogsDataSet..::.InventoryCatalogsDataTable
Dim InventoryCatalogName As String
Dim InventoryCatalogDescription As String
Dim DateCreated As DateTime
Dim LastModified As DateTime
Dim Timestamp As Byte()
Dim returnValue As InventoryCatalogsDataSet..::.InventoryCatalog

returnValue = instance.AddInventoryCatalog(InventoryCatalogName, _
    InventoryCatalogDescription, DateCreated, _
    LastModified, Timestamp)
public InventoryCatalogsDataSet..::.InventoryCatalog AddInventoryCatalog(
    string InventoryCatalogName,
    string InventoryCatalogDescription,
    DateTime DateCreated,
    DateTime LastModified,
    byte[] Timestamp
)
public:
InventoryCatalogsDataSet..::.InventoryCatalog^ AddInventoryCatalog(
    String^ InventoryCatalogName, 
    String^ InventoryCatalogDescription, 
    DateTime DateCreated, 
    DateTime LastModified, 
    array<unsigned char>^ Timestamp
)
public function AddInventoryCatalog(
    InventoryCatalogName : String, 
    InventoryCatalogDescription : String, 
    DateCreated : DateTime, 
    LastModified : DateTime, 
    Timestamp : byte[]
) : InventoryCatalogsDataSet..::.InventoryCatalog

Parameters

  • InventoryCatalogDescription
    Type: System..::.String
    The Inventory Catalog description.

Return Value

Type: Microsoft.CommerceServer.Inventory..::.InventoryCatalogsDataSet..::.InventoryCatalog
An InventoryCatalogsDataSet..::.InventoryCatalog containing the added set.

Remarks

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

Permissions

See Also

Reference

InventoryCatalogsDataSet..::.InventoryCatalogsDataTable Class

InventoryCatalogsDataSet..::.InventoryCatalogsDataTable Members

AddInventoryCatalog Overload

Microsoft.CommerceServer.Inventory Namespace