Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / Wishlist Class / Transfer Method / Transfer(Int32,Int32,Boolean) Method
The ID of the user with the source wishlist.
The ID of the user to transfer the wishlist to.
If false, the wishlist is not transferred when the source wishlist is empty. If true, the wishlist is always transferred.
In This Topic
    Transfer(Int32,Int32,Boolean) Method
    In This Topic
    Moves the source wishlist to the target wishlist.
    Syntax
    public static void Transfer( 
       int sourceId,
       int targetId,
       bool transferEmptyWishlist
    )

    Parameters

    sourceId
    The ID of the user with the source wishlist.
    targetId
    The ID of the user to transfer the wishlist to.
    transferEmptyWishlist
    If false, the wishlist is not transferred when the source wishlist is empty. If true, the wishlist is always transferred.
    Remarks
    Any existing contents of the target wishlist are removed prior to transfer.
    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