SearchOptions Constructor (SearchOptions)

Initializes a new instance of the CatalogSearchOptions class using the supplied CatalogSearchOptions.

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

Syntax

'Declaration
Public Sub New ( _
    searchOptionsOriginal As SearchOptions _
)
'Usage
Dim searchOptionsOriginal As SearchOptions

Dim instance As New SearchOptions(searchOptionsOriginal)
public SearchOptions(
    SearchOptions searchOptionsOriginal
)
public:
SearchOptions(
    SearchOptions^ searchOptionsOriginal
)
public function SearchOptions(
    searchOptionsOriginal : SearchOptions
)

Parameters

Remarks

The newly created SearchOptions contains the parameters from the searchOptionsOriginal object.

Returns a clone of the current searchOptionsOriginal.

You can use properties in this class to customize the search results. You should create an instance of the class, set the appropriate properties and pass it as a parameter to the Search method to apply the filter criteria.

Permissions

See Also

Reference

SearchOptions Class

SearchOptions Members

SearchOptions Overload

Microsoft.CommerceServer.Catalog Namespace