Поделиться через


GetCatalogSearch Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Returns a CatalogSearch object that can be used to do Free-text searches and/or property-search across multiple catalogs, in one catalog, or within a single category in a catalog.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Function GetCatalogSearch As CatalogSearch
'Usage
Dim instance As CatalogContext
Dim returnValue As CatalogSearch

returnValue = instance.GetCatalogSearch()
public CatalogSearch GetCatalogSearch()
public:
CatalogSearch^ GetCatalogSearch()
public function GetCatalogSearch() : CatalogSearch

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogSearch
Returns a CatalogSearch object that can be used to do Free-text searches and/or property-search across multiple catalogs, in one catalog, or within a single category in a catalog.

Remarks

You can use the returned CatalogSearch object to perform different types of searches in the catalog system. You can set various CatalogSearchOptions to refine your search criteria.

Permissions

See Also

Reference

CatalogContext Class

CatalogContext Members

Microsoft.CommerceServer.Catalog Namespace