Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / ProductTemplate Class / Copy Method / Copy(Int32,Boolean) Method
The id of the product template to copy.
If true, a child objects are also copied.
In This Topic
    Copy(Int32,Boolean) Method
    In This Topic
    Creates a copy of the specified product template.
    Syntax

    Parameters

    productTemplateId
    The id of the product template to copy.
    deepCopy
    If true, a child objects are also copied.

    Return Value

    A copy of the specified product template.
    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