Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Search.Providers Namespace / ISearchProvider Interface / SearchWebsiteCount Method
The search phrase.
The id of category to search for the search phrase.
In This Topic
    SearchWebsiteCount Method (ISearchProvider)
    In This Topic
    Counts the items that match the search phrase.
    Syntax
    int SearchWebsiteCount( 
       string searchPhrase,
       int categoryId
    )

    Parameters

    searchPhrase
    The search phrase.
    categoryId
    The id of category to search for the search phrase.

    Return Value

    The count of items 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