Partager via


CatalogSearch Constructor

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

NOTE: This API is now obsolete.

(Obsolete) Use GetCatalogSearch instead. Initializes a new instance of the CatalogSearch class.

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

Syntax

'Declaration
<ObsoleteAttribute("Creation of this object is now obsolete, please use CatalogContext.GetCatalogSearch() instead",  _
    True)> _
Public Sub New
'Usage

Dim instance As New CatalogSearch()
[ObsoleteAttribute("Creation of this object is now obsolete, please use CatalogContext.GetCatalogSearch() instead", 
    true)]
public CatalogSearch()
[ObsoleteAttribute(L"Creation of this object is now obsolete, please use CatalogContext.GetCatalogSearch() instead", 
    true)]
public:
CatalogSearch()
public function CatalogSearch()

Remarks

You can also use CatalogSearch to perform property, free text, or both property and free text searches. The CatalogSearchOptions class allows you to specify the properties to return in the CatalogItemsDataSet, the properties to sort the results by and the class types in the returned results. You can even page the search results by specifying starting record and the number of records. For multilingual sites, you can specify the language in which to perform the search and in which to return the content.

Permissions

See Also

Reference

CatalogSearch Class

CatalogSearch Members

CatalogSearch Overload

Microsoft.CommerceServer.Catalog Namespace