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

    Parameters

    product
    The given Product

    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