Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / ICatalogRepository Interface / GetCategoryId Method
Id of the node for which to get the category id
Type of the node for which to get the category id
Version
GetCategoryId Method (ICatalogRepository)
Gets the category Id for the given node
Syntax
int GetCategoryId( 
   int nodeId,
   CatalogNodeType nodeType
)

Parameters

nodeId
Id of the node for which to get the category id
nodeType
Type of the node for which to get the category id

Return Value

The category Id
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also