Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / BasketItem Class / GetParentItem Method / GetParentItem() Method
In This Topic
    GetParentItem() Method
    In This Topic
    Gets the immediate parent item for this basket item.
    Syntax
    [Obsolete("Use GetParentItem(bool recurse) to specify how nested children are handled.")]
    public virtual BasketItem GetParentItem()

    Return Value

    Returns the BasketItem instance for the parent item. If the current item has no parent, the current item is returned.
    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