Partilhar via


GetChildCategories Method

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

NOTE: This API is now obsolete.

(Obsolete) Retrieve a DataSet containing the child categories of this category to get the CategoryName, CatalogName, DefinitionName and DisplayName properties for the immediate child categories of this category.

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

Syntax

'Declaration
<ObsoleteAttribute("Category.GetChildCategories has been replaced by Category.ChildCategories")> _
Public Function GetChildCategories As DataSet
'Usage
Dim instance As Category
Dim returnValue As DataSet

returnValue = instance.GetChildCategories()
[ObsoleteAttribute("Category.GetChildCategories has been replaced by Category.ChildCategories")]
public DataSet GetChildCategories()
[ObsoleteAttribute(L"Category.GetChildCategories has been replaced by Category.ChildCategories")]
public:
DataSet^ GetChildCategories()
public function GetChildCategories() : DataSet

Return Value

Type: System.Data..::.DataSet
The DataSet contains a single DataTable with the child category property data.

Remarks

Calling the GetChildCategories method is more efficient than calling any of the GetChildCategories methods with parameters.

GetChildCategories has been replaced by Category.ChildCategories.

Permissions

See Also

Reference

Category Class

Category Members

GetChildCategories Overload

Microsoft.CommerceServer.Catalog Namespace