Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / IOptionRepository Interface / CountForProduct Method / CountForProduct(Int32) Method
The given ProductId
In This Topic
    CountForProduct(Int32) Method
    In This Topic
    Count the Option objects associated with the given Product
    Syntax
    int CountForProduct( 
       int productId
    )

    Parameters

    productId
    The given ProductId

    Return Value

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