Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Search Namespace / SearchDataSource Class / Search Method / Search(String,SearchArea,Int32) Method
Keywords to search
objects to be searched
maximum number of search results
In This Topic
    Search(String,SearchArea,Int32) Method
    In This Topic
    Search for the specified keywords in selected search area
    Syntax
    [DataObjectMethod(DataObjectMethodType.Select)]
    public static IList<SearchAreaResults> Search( 
       string keywords,
       SearchArea searchArea,
       int maximumRows
    )

    Parameters

    keywords
    Keywords to search
    searchArea
    objects to be searched
    maximumRows
    maximum number of search results

    Return Value

    Search results
    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