Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / IOptionRepository Interface / LoadForProduct Method / LoadForProduct(Int32,String,Int32,Int32) Method
The given ProductId
The sort expression to use for sorting the loaded objects.
Maximum number of rows to retrieve.
Starting index from where to start retrieving.
In This Topic
    LoadForProduct(Int32,String,Int32,Int32) Method
    In This Topic
    Loads the Option objects associated with the given Product
    Syntax

    Parameters

    productId
    The given ProductId
    sortExpression
    The sort expression to use for sorting the loaded objects.
    maximumRows
    Maximum number of rows to retrieve.
    startRowIndex
    Starting index from where to start retrieving.

    Return Value

    A collection of Option objects associated with with the given ProductId
    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