Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / IInputFieldRepository Interface / CountForProductTemplate Method / CountForProductTemplate(Int32,InputFieldScope) Method
Id of the product template to count for
scope of input fields to consider
In This Topic
    CountForProductTemplate(Int32,InputFieldScope) Method
    In This Topic
    Counts number of input fields for given product template
    Syntax
    int CountForProductTemplate( 
       int productTemplateId,
       InputFieldScope scope
    )

    Parameters

    productTemplateId
    Id of the product template to count for
    scope
    scope of input fields to consider

    Return Value

    Number of input fields for given product template
    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