Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.CMS Namespace / IPageTemplateRepository Interface / CountForLayout Method
The Id of layout to search page templates for
In This Topic
    CountForLayout Method (IPageTemplateRepository)
    In This Topic
    Count the page templates for the specified layout
    Syntax
    int CountForLayout( 
       int layoutId
    )

    Parameters

    layoutId
    The Id of layout to search page templates for

    Return Value

    Count the records.
    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