Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / IProductReviewRepository Interface / SearchCount Method / SearchCount(Int32,BitFieldState) Method
Id of the product to count reviews for
Approval state of the reviews to include in the count
In This Topic
    SearchCount(Int32,BitFieldState) Method
    In This Topic
    Counts the number of product reviews matching the given criteria
    Syntax

    Parameters

    productId
    Id of the product to count reviews for
    approved
    Approval state of the reviews to include in the count

    Return Value

    The number of product reviews matching the given criteria
    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