Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / ICategoryRepository Interface / FindCategories Method / FindCategories(String,Int32,BitFieldState,Int32,Int32,String) Method
The name of the category
category Id
whether category is featured or not
Maximum number of rows to retrieve
Starting index from where to start retrieving
Sort expression to use for sorting the loaded categories
In This Topic
    FindCategories(String,Int32,BitFieldState,Int32,Int32,String) Method
    In This Topic
    Finds the categories for given parameters
    Syntax

    Parameters

    name
    The name of the category
    categoryId
    category Id
    featured
    whether category is featured or not
    maximumRows
    Maximum number of rows to retrieve
    startRowIndex
    Starting index from where to start retrieving
    sortExpression
    Sort expression to use for sorting the loaded categories

    Return Value

    List of categories matching the given parameters
    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