Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / IWebpageRepository Interface / LoadForCategory Method
The category to get webpages from
A value indicating whether or not to get webpages from subcategories as well
A value indicating whether or not to get only public webpages or all webpages
Sort expression for the data
Maximum rows to retrieve
Start row index
In This Topic
    LoadForCategory Method (IWebpageRepository)
    In This Topic
    Gets the webpages from the given category
    Syntax

    Parameters

    categoryId
    The category to get webpages from
    recurse
    A value indicating whether or not to get webpages from subcategories as well
    publicOnly
    A value indicating whether or not to get only public webpages or all webpages
    sortExpression
    Sort expression for the data
    maximumRows
    Maximum rows to retrieve
    startRowIndex
    Start row index

    Return Value

    A collection of webpages
    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