Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / CatalogRepository Class / SearchCount 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
In This Topic
    SearchCount Method (CatalogRepository)
    In This Topic
    Gets the number of catalog nodes mathcing the 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

    Return Value

    The number 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