Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Search.Providers Namespace / ISearchProvider Interface / SearchCount Method / SearchCount(String) Method
The search phrase.
In This Topic
    SearchCount(String) Method
    In This Topic
    Counts the products that match the search phrase.
    Syntax
    int SearchCount( 
       string searchPhrase
    )

    Parameters

    searchPhrase
    The search phrase.

    Return Value

    The count of products that match the search phrase.
    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