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
- InventoryCatalogName
Type: System..::.String
The name of the Inventory Catalog.
- InventoryCatalogDescription
Type: System..::.String
The Inventory Catalog description.
- DateCreated
Type: System..::.DateTime
The date the Inventory Catalog was created.
- LastModified
Type: System..::.DateTime
The date the Inventory Catalog was last modified.
- Timestamp
Type: array<System..::.Byte>[]()[]
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
- 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
InventoryCatalogsDataSet..::.InventoryCatalogsDataTable Class
InventoryCatalogsDataSet..::.InventoryCatalogsDataTable Members