Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / CategoryRepository Class / FindByName Method / FindByName(String,Int32,Int32,String) Method
The category name to match
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
    FindByName(String,Int32,Int32,String) Method
    In This Topic
    Gets a collection of categories matching the given name
    Syntax

    Parameters

    nameToMatch
    The category name to match
    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

    A collection of categories matching the given name
    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