Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Search.Providers Namespace / SearchProviderBase Class / SearchCount Method / SearchCount(String,Boolean) Method
The search phrase.
search in description fields
In This Topic
    SearchCount(String,Boolean) Method
    In This Topic
    Counts the products that match the search phrase.
    Syntax
    public virtual int SearchCount( 
       string searchPhrase,
       bool includeDescriptions
    )

    Parameters

    searchPhrase
    The search phrase.
    includeDescriptions
    search in description fields

    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