Bagikan melalui


ChildCategories Property

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

Gets a CatalogItemsDataSet containing all the child categories in this category.

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

Syntax

'Declaration
Public ReadOnly Property ChildCategories As CategoryCollection
'Usage
Dim instance As Category
Dim value As CategoryCollection

value = instance.ChildCategories
public CategoryCollection ChildCategories { get; }
public:
property CategoryCollection^ ChildCategories {
    CategoryCollection^ get ();
}
public function get ChildCategories () : CategoryCollection

Property Value

Type: Microsoft.CommerceServer.Catalog..::.CategoryCollection
A collection of the child categories that exist below this category in the hierarchy.

Remarks

The CatalogItemsDataSet contains one row for each child category in this category. This dataset will be sorted by the Rank of the categories in the ascending order. Child categories having the same rank will be sorted by the DisplayName. This dataset will return all the built-in and user defined properties in the catalog.

The maximum number of results returned by a Catalog Search is limited by the MaxSearchResults value in the catalog webservice web.config.

Permissions

See Also

Reference

Category Class

Category Members

Microsoft.CommerceServer.Catalog Namespace