Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / RelatedProduct Class / RelatedProduct Constructor / RelatedProduct Constructor(Int32,Int32)
The parent product.
The product that is related to the parent.
In This Topic
    RelatedProduct Constructor(Int32,Int32)
    In This Topic
    Initializes a new instance of the RelatedProduct class.
    Syntax
    public RelatedProduct( 
       int productId,
       int relatedProductId
    )

    Parameters

    productId
    The parent product.
    relatedProductId
    The product that is related to the parent.
    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