Share via


ChildProducts 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 products 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 ChildProducts As CollectionConfiguration
'Usage
Dim instance As CategoryConfiguration
Dim value As CollectionConfiguration

value = instance.ChildProducts

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

Property Value

Type: Microsoft.CommerceServer.Catalog..::.CollectionConfiguration
The ChildCategories recordset contains a row for each of the products 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