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


SearchOptions Property

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

Gets or sets the search options used for the search.

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

Syntax

'Declaration
Public Property SearchOptions As CatalogSearchOptions
'Usage
Dim instance As CatalogSearch
Dim value As CatalogSearchOptions

value = instance.SearchOptions

instance.SearchOptions = value
public CatalogSearchOptions SearchOptions { get; set; }
public:
property CatalogSearchOptions^ SearchOptions {
    CatalogSearchOptions^ get ();
    void set (CatalogSearchOptions^ value);
}
public function get SearchOptions () : CatalogSearchOptions
public function set SearchOptions (value : CatalogSearchOptions)

Property Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogSearchOptions
A CatalogSearchOptions containing the search option used for a catalog search.

Remarks

Stores the search options used for the search. The search options allows for customized searches of the catalog. Provides optional parameters that control results of a catalog system search. The .NET Base Class Library allows you to specify the search options for most of the methods returning Datasets or ReadOnlyCollections, but not all the methods support all parameters.

You can set the CatalogSearchOptions to customize your search results. Setting this property allows you to specify paging, the type of catalog items in the returned results, properties to return in the result and properties to sort the search results upon.

Permissions

See Also

Reference

CatalogSearch Class

CatalogSearch Members

Microsoft.CommerceServer.Catalog Namespace