Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / IProductRepository Interface / NewProductsCount Method
Indicates whether to use days for deciding the newness of products.
Indicates the number of days to take into consideration for deciding newness of products.
In This Topic
    NewProductsCount Method (IProductRepository)
    In This Topic
    Counts the number of new products
    Syntax
    int NewProductsCount( 
       bool useDays,
       int numberOfDays
    )

    Parameters

    useDays
    Indicates whether to use days for deciding the newness of products.
    numberOfDays
    Indicates the number of days to take into consideration for deciding newness of products.

    Return Value

    A list of new products
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also