Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / PageViewRepository Class / LoadForCatalogNodeType Method / LoadForCatalogNodeType(CatalogNodeType,Int32,Int32,Int32,String) Method
The type of catalog node views to load
The user to filter views by; pass 0 for all users
Maximum number of rows to return
Starting index of first record in result set
Sort expression to apply to the result set
In This Topic
    LoadForCatalogNodeType(CatalogNodeType,Int32,Int32,Int32,String) Method
    In This Topic
    Loads the page views for the specified node type and user.
    Syntax

    Parameters

    catalogNodeType
    The type of catalog node views to load
    userId
    The user to filter views by; pass 0 for all users
    maximumRows
    Maximum number of rows to return
    startRowIndex
    Starting index of first record in result set
    sortExpression
    Sort expression to apply to the result set

    Return Value

    A PageViewCollection that contains all views meeting the 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