Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.CMS Namespace / ILayoutRepository Interface / SearchCountForLayoutType Method
The keywords or search term
The given layout type.
In This Topic
    SearchCountForLayoutType Method (ILayoutRepository)
    In This Topic
    Counts the layouts for given layout type.
    Syntax
    int SearchCountForLayoutType( 
       string keywords,
       LayoutType layoutType
    )

    Parameters

    keywords
    The keywords or search term
    layoutType
    The given layout type.

    Return Value

    The number of layouts for given layout type stored in 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