Share via


GetRootCategory Method

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

Retrieves the root category object for this catalog. The root category contains the list of all products and categories not contained in other categories.

Overload List

  Name Description
ms986649.pubmethod(en-US,CS.70).gif GetRootCategory(String) Get the root category object for this catalog. The root category contains the list of all products and categories not contained in other categories.
ms986649.pubmethod(en-US,CS.70).gif GetRootCategory(String, CategoryConfiguration) Gets the root category object for this catalog. The root category contains the list of all products and categories not contained in other categories.

Top

Remarks

Retrieves a category object which represents the “root” category. The root category will not be a member of any collection and has no parent category.

See Also

Reference

CatalogContext Class

CatalogContext Members

Microsoft.CommerceServer.Catalog Namespace