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

    Parameters

    optionId
    The given OptionId

    Return Value

    The Number of OptionChoice 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