Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / PageViewRepository Class / GetViewsByCategory Method / GetViewsByCategory(Int32,Int32) Method
Maximum number of rows to retrieve
Index of the row from where to start retrieving
In This Topic
    GetViewsByCategory(Int32,Int32) Method
    In This Topic
    Gets a collection of Key Value pairs; each key representing a ICatalogable (Category) object and each value representing the number of views for this object. The result contains views by category.
    Syntax

    Parameters

    maximumRows
    Maximum number of rows to retrieve
    startRowIndex
    Index of the row from where to start retrieving

    Return Value

    A collection of Key Value pairs; each key representing a ICatalogable (Category) object and each value representing the number of views for this object
    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