Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / ICatalogNodeRepository Interface / GetParentCategoryIds Method
The catalog node id to find parents for.
The catalog node type to find parents for.
In This Topic
    GetParentCategoryIds Method (ICatalogNodeRepository)
    In This Topic
    Gets an integer list of the ids of all parent categories
    Syntax
    IList<int> GetParentCategoryIds( 
       int nodeId,
       CatalogNodeType nodeType
    )

    Parameters

    nodeId
    The catalog node id to find parents for.
    nodeType
    The catalog node type to find parents for.

    Return Value

    A list of all parents that contain a link to this node.
    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