Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderRepository Class / CountForSearch Method
Representing the search criteria to apply to the orders
In This Topic
    CountForSearch Method (OrderRepository)
    In This Topic
    Count the total records that are within the bounds of the given search criteria
    Syntax
    public int CountForSearch( 
       OrderSearchCriteria searchCriteria
    )

    Parameters

    searchCriteria
    Representing the search criteria to apply to the orders

    Return Value

    Return the count of records for the given search 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