Jaa


GetRootCategory Method (CategoryConfiguration)

Retrieve the catalog root category. This category contains all products and categories not included in other categories.

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

Syntax

'Declaration
Public Function GetRootCategory ( _
    config As CategoryConfiguration _
) As Category
'Usage
Dim instance As ProductCatalog
Dim config As CategoryConfiguration
Dim returnValue As Category

returnValue = instance.GetRootCategory(config)
public Category GetRootCategory(
    CategoryConfiguration config
)
public:
Category^ GetRootCategory(
    CategoryConfiguration^ config
)
public function GetRootCategory(
    config : CategoryConfiguration
) : Category

Parameters

Return Value

Type: Microsoft.CommerceServer.Catalog..::.Category
A category object representing the root category for this catalog.

Remarks

This method is equivalent to GetCategory(“”)

Permissions

See Also

Reference

ProductCatalog Class

ProductCatalog Members

GetRootCategory Overload

Microsoft.CommerceServer.Catalog Namespace