Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / ICatalogNodeRepository Interface / CountForCategory Method / CountForCategory(Int32) Method
The category Id
In This Topic
    CountForCategory(Int32) Method
    In This Topic
    Counts the number of catalog node objects for the given category Id.
    Syntax
    int CountForCategory( 
       int categoryId
    )

    Parameters

    categoryId
    The category Id

    Return Value

    The number of catalog node objects for the given category Id.
    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