Category.ChildCategories

Ee825256.c++_on(en-US,CS.10).gifEe825256.vb_off(en-US,CS.10).gif

The ChildCategories property is a read-only Recordset object that contains the names of categories that exist below this category in the hierarchy.

Definition

Property ChildCategories() As Recordset

Parameters

None.

Error Values

This method sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.

Remarks

The ChildCategories property contains valid data only if the property is accessed successfully.

The ChildCategories recordset contains a row for each of the categories that are currently children of this category. The following table lists the fields for the ChildCategories recordset.

Field Data Type Description
CategoryName String
maximum of 128 characters
The name of the category.
DefinitionName String
maximum of 128 characters
The name of the definition.
CatalogName String
maximum of 128 characters
The name of the Catalog that contains the category.

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

See Also

Category Object

Category.ParentCategories

Category.AncestorCategories


All rights reserved.