Поделиться через


ChildCategories Property

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

Gets or sets a CollectionConfiguration that contains the configuration of categories that exist below this category in the hierarchy.

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

Syntax

'Declaration
Public Property ChildCategories As CollectionConfiguration
'Usage
Dim instance As CategoryConfiguration
Dim value As CollectionConfiguration

value = instance.ChildCategories

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

Property Value

Type: Microsoft.CommerceServer.Catalog..::.CollectionConfiguration
The ChildCategories recordset contains a row for each of the categories that are currently children of this category.

Remarks

If this category configuration has no children, an empty recordset is returned whose EOF property is set to true. Your code should check the value of this property to determine if child categories exist.

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

CategoryConfiguration Class

CategoryConfiguration Members

Microsoft.CommerceServer.Catalog Namespace