Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / ICategoryParentRepository Interface / GetCategoryLevels Method / GetCategoryLevels(Int32) Method
ID of the category to exclude from the collection; 0 if none.
In This Topic
    GetCategoryLevels(Int32) Method
    In This Topic
    Gets the category tree of the store in a flat collection, sorted by level.
    Syntax
    IList<CategoryLevelNode> GetCategoryLevels( 
       int exclude
    )

    Parameters

    exclude
    ID of the category to exclude from the collection; 0 if none.

    Return Value

    A collection of categories in the store, organized by level.
    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