Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / ICatalogRepository Interface / Search Method / Search(Int32,String,Boolean,Boolean,Boolean,CatalogNodeTypeFlags,Int32,Int32,String) Method
The category in which to perform the search
The search phrase to search for
If true only node titles are searched
If true only public (published) nodes are searched
If true search is performend recursively on the sub-categories
The type of catalog nodes to include in the search
Maximum number of rows to retrieve
Starting index from where to start retrieving
Sort expression to use for sorting the loaded products
In This Topic
    Search(Int32,String,Boolean,Boolean,Boolean,CatalogNodeTypeFlags,Int32,Int32,String) Method
    In This Topic
    Search catalog nodes for given search criteria
    Syntax

    Parameters

    categoryId
    The category in which to perform the search
    searchPhrase
    The search phrase to search for
    titlesOnly
    If true only node titles are searched
    publicOnly
    If true only public (published) nodes are searched
    recursive
    If true search is performend recursively on the sub-categories
    catalogNodeTypes
    The type of catalog nodes to include in the search
    maximumRows
    Maximum number of rows to retrieve
    startRowIndex
    Starting index from where to start retrieving
    sortExpression
    Sort expression to use for sorting the loaded products

    Return Value

    Collection of catalog nodes matching the 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