Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / IProductOptionRepository Interface / CountForOption Method
The given OptionId
In This Topic
    CountForOption Method (IProductOptionRepository)
    In This Topic
    Counts the number of ProductOption objects for the given OptionId in the database.
    Syntax
    int CountForOption( 
       int optionId
    )

    Parameters

    optionId
    The given OptionId

    Return Value

    The Number of ProductOption objects for the given OptionId in the database.
    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