Partilhar via


CatalogSearch Constructor (CatalogContext)

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")> _
Public Sub New ( _
    catalogContext As CatalogContext _
)
'Usage
Dim catalogContext As CatalogContext

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

Parameters

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