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

    Parameters

    productId
    The parent product.
    relatedProductId
    The product that is related to the parent.
    orderBy
    The order the related product appears in the list of all related products.
    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