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
- 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
CatalogItemsDataSet..::.CatalogItemsDataTable Class