Share via


NewCatalogItem Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Creates a new CatalogItems with the same schema as CatalogItemsDataSet..::.CatalogItemsDataTable.

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

Syntax

'Declaration
Public Function NewCatalogItem As CatalogItemsDataSet..::.CatalogItem
'Usage
Dim instance As CatalogItemsDataSet..::.CatalogItemsDataTable
Dim returnValue As CatalogItemsDataSet..::.CatalogItem

returnValue = instance.NewCatalogItem()
public CatalogItemsDataSet..::.CatalogItem NewCatalogItem()
public:
CatalogItemsDataSet..::.CatalogItem^ NewCatalogItem()
public function NewCatalogItem() : CatalogItemsDataSet..::.CatalogItem

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogItemsDataSet..::.CatalogItem
A CatalogItem.

Remarks

The returned CatalogItem contains a BaseCatalogName, CatalogClassTypes, CatalogName, CategoryName, DefinitionName, DisplayName, IsSearchable, ListPrice, Oid, PrimaryParentCategoryName, ProductID, Rank, UseCategoryPricing, and VariantID.

Permissions

See Also

Reference

CatalogItemsDataSet..::.CatalogItemsDataTable Class

CatalogItemsDataSet..::.CatalogItemsDataTable Members

Microsoft.CommerceServer.Catalog Namespace