Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Search.Providers Namespace / SearchProviderBase Class / Search Method / Search(String,Boolean,Int32,Int32,String) Method
The search phrase.
search in description fields
Maximum number of rows to retrieve.
Starting index from where to start retrieving.
The sort expression to use for sorting the loaded objects.
In This Topic
    Search(String,Boolean,Int32,Int32,String) Method
    In This Topic
    Searches for products that match the keyword.
    Syntax

    Parameters

    searchPhrase
    The search phrase.
    includeDescriptions
    search in description fields
    maximumRows
    Maximum number of rows to retrieve.
    startRowIndex
    Starting index from where to start retrieving.
    sortExpression
    The sort expression to use for sorting the loaded objects.

    Return Value

    A list 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