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

    Parameters

    keywords
    The keywords or search term
    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