Condividi tramite


ChildProductsCount Property

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

NOTE: This API is now obsolete.

(Obsolete) Gets the number of child products of this category.

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

Syntax

'Declaration
<ObsoleteAttribute("Category.ChildProductsCount is obsolete, use Category.ChildProducts.TotalRecords instead.")> _
Public ReadOnly Property ChildProductsCount As Integer
'Usage
Dim instance As Category
Dim value As Integer

value = instance.ChildProductsCount
[ObsoleteAttribute("Category.ChildProductsCount is obsolete, use Category.ChildProducts.TotalRecords instead.")]
public int ChildProductsCount { get; }
[ObsoleteAttribute(L"Category.ChildProductsCount is obsolete, use Category.ChildProducts.TotalRecords instead.")]
public:
property int ChildProductsCount {
    int get ();
}
public function get ChildProductsCount () : int

Property Value

Type: System..::.Int32
The number of child products of this category.

Remarks

ChildProductsCount is obsolete, use Category.ChildProducts.TotalRecords instead.

Permissions

See Also

Reference

Category Class

Category Members

Microsoft.CommerceServer.Catalog Namespace